Skip to content

Commit

Permalink
deps: float 15d7e79 from openssl
Browse files Browse the repository at this point in the history
The upstream commit fixes an incorrect initialization of memory in
rand_lib.c. This fixes all errors that are reported by valgrind during
startup.

Origin: openssl/openssl@15d7e7997e219fc

PR-URL: #28796
Fixes: #28739
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Shigeki Ohtsu <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Sam Roberts <[email protected]>
  • Loading branch information
tniessen committed Jul 23, 2019
1 parent 03317f0 commit 4daf153
Showing 1 changed file with 3 additions and 1 deletion.
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

0 comments on commit 4daf153

Please sign in to comment.