Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 19dad19

Browse filesBrowse 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 <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>
1 parent eefd0eb commit 19dad19
Copy full SHA for 19dad19

File tree

Expand file treeCollapse file tree

1 file changed

+3
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-1
lines changed
Open diff view settings
Collapse file

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

Copy file name to clipboardExpand all lines: deps/openssl/openssl/crypto/rand/rand_lib.c
+3-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.