[openssl] master update
Dr. Paul Dale
pauli at openssl.org
Fri Oct 1 01:04:09 UTC 2021
The branch master has been updated
via a8cc0efe0d8fdd7bfa1d40b3c008d7d6ddf970db (commit)
from f8dd5869bca047a23599ac925aace70efcf487ad (commit)
- Log -----------------------------------------------------------------
commit a8cc0efe0d8fdd7bfa1d40b3c008d7d6ddf970db
Author: Viktor Dukhovni <openssl-users at dukhovni.org>
Date: Wed Sep 29 18:03:13 2021 -0400
Fully initialise cipher/digest app handles
This avoids a crash in e.g. `openssl chacha20` as reported by
Steffen Nurpmeso on openssl-users.
Resolves: #16713
Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16714)
-----------------------------------------------------------------------
Summary of changes:
apps/openssl.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/apps/openssl.c b/apps/openssl.c
index 30e1e755e0..2693350ffc 100644
--- a/apps/openssl.c
+++ b/apps/openssl.c
@@ -395,6 +395,7 @@ static int do_cmd(LHASH_OF(FUNCTION) *prog, int argc, char *argv[])
if (argc <= 0 || argv[0] == NULL)
return 0;
+ memset(&f, 0, sizeof(f));
f.name = argv[0];
fp = lh_FUNCTION_retrieve(prog, &f);
if (fp == NULL) {
More information about the openssl-commits
mailing list