Skip to content
Permalink
Browse files

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.

Origin: openssl/openssl@15d7e79

PR-URL: #28796
Fixes: #28739
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Shigeki Ohtsu <ohtsu@ohtsu.org>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
  • Loading branch information...
tniessen authored and targos committed Jul 21, 2019
1 parent eefd0eb commit 19dad196e08f4c26422f19f0303b1c425fa0fd4a
Showing with 3 additions and 1 deletion.
  1. +3 −1 deps/openssl/openssl/crypto/rand/rand_lib.c
@@ -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)

0 comments on commit 19dad19

Please sign in to comment.
You can’t perform that action at this time.