Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
deps: float 15d7e79 from openssl
The upstream commit fixes an incorrect initialization of memory in
rand_lib.c. This fixes all errors that are reported by valgrind during
startup.

Closes: #28739
  • Loading branch information
tniessen committed Jul 21, 2019
commit 4307a895286f44941437a9af2a62daaec18ecbb3
4 changes: 3 additions & 1 deletion deps/openssl/openssl/crypto/rand/rand_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,9 @@ size_t rand_drbg_get_nonce(RAND_DRBG *drbg,
struct {
void * instance;
int count;
} data = { NULL, 0 };
} data;

memset(&data, 0, sizeof(data));

pool = rand_pool_new(0, min_len, max_len);
if (pool == NULL)
Expand Down