Skip to content

Commit 19dad19

Browse files
tniessentargos
authored andcommitted
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@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]>
1 parent eefd0eb commit 19dad19

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

deps/openssl/openssl/crypto/rand/rand_lib.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,9 @@ size_t rand_drbg_get_nonce(RAND_DRBG *drbg,
235235
struct {
236236
void * instance;
237237
int count;
238-
} data = { NULL, 0 };
238+
} data;
239+
240+
memset(&data, 0, sizeof(data));
239241

240242
pool = rand_pool_new(0, min_len, max_len);
241243
if (pool == NULL)

0 commit comments

Comments
 (0)