Branch: refs/heads/OpenSSL_1_1_1-stable Home: https://github.openssl.org/openssl/openssl Commit: 17098c116d68b3a01fcb688487dccdc0c10b8f63 https://github.openssl.org/openssl/openssl/commit/17098c116d68b3a01fcb688487dccdc0c10b8f63 Author: Bernd Edlinger <bernd.edlin...@hotmail.de> Date: 2022-07-09 (Sat, 09 Jul 2022)
Changed paths: M crypto/rand/drbg_lib.c M crypto/rand/rand_lib.c Log Message: ----------- Make the DRBG seed propagation thread safe Currently there is a race possible because the reseed_counter of the master drbg may be incremented after the get_entropy call. Therefore access the parent's reseed_counter while still holding the rand_drbg_lock. This improves commit 958fec77928a28350f6af252ac5e8d0e6e081faa Reviewed-by: Paul Dale <pa...@openssl.org> Reviewed-by: Tomas Mraz <to...@openssl.org> (Merged from https://github.com/openssl/openssl/pull/16900)