[openssl] openssl-3.0 update

Dr. Paul Dale pauli at openssl.org
Sun Dec 19 23:56:41 UTC 2021


The branch openssl-3.0 has been updated
       via  fb88450626e313e16e6f3488e369d29d5be8375f (commit)
      from  7f2dace8d5969703e36cd9bdeff606d1f6fee3c8 (commit)


- Log -----------------------------------------------------------------
commit fb88450626e313e16e6f3488e369d29d5be8375f
Author: Kan <chenxinpingc2306 at 163.com>
Date:   Fri Dec 17 00:05:24 2021 +0800

    Fix the null pointer dereference
    
    Fixes #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/17297)
    
    (cherry picked from commit f050745fe69a538952f3e12af3718d19ef2df2e2)

-----------------------------------------------------------------------

Summary of changes:
 crypto/bn/bn_conv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crypto/bn/bn_conv.c b/crypto/bn/bn_conv.c
index 4af546a25b..6757f3d0aa 100644
--- a/crypto/bn/bn_conv.c
+++ b/crypto/bn/bn_conv.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