[openssl] OpenSSL_1_1_1-stable update
Dr. Paul Dale
pauli at openssl.org
Sun Dec 19 23:58:17 UTC 2021
The branch OpenSSL_1_1_1-stable has been updated
via f2f7cff20377f7402b132a19d953a9d998be26aa (commit)
from e9dc49c009a34b429d6dddcbb1813efa561481c7 (commit)
- Log -----------------------------------------------------------------
commit f2f7cff20377f7402b132a19d953a9d998be26aa
Author: Kan <chenxinpingc2306 at 163.com>
Date: Fri Dec 17 10:56:26 2021 +0800
Fix the null pointer dereference
Fixed #17296
Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17302)
-----------------------------------------------------------------------
Summary of changes:
crypto/bn/bn_print.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crypto/bn/bn_print.c b/crypto/bn/bn_print.c
index 69749a9fa7..17ac6e7cac 100644
--- a/crypto/bn/bn_print.c
+++ b/crypto/bn/bn_print.c
@@ -142,7 +142,7 @@ int BN_hex2bn(BIGNUM **bn, const char *a)
continue;
if (i == 0 || i > INT_MAX / 4)
- goto err;
+ return 0;
num = i + neg;
if (bn == NULL)
More information about the openssl-commits
mailing list