CVSROOT: /cvs Module name: src Changes by: [email protected] 2022/11/22 01:46:27
Modified files:
lib/libcrypto/bn: bn_print.c
Log message:
Fix segfaults in BN_dec2bn() and BN_hex2bn()
bn_print.c r1.29 added length checks to avoid overflowing the BIGNUM.
If these checks are hit in length-only mode, i.e., bn is NULL, the
error path dereferences bn. Change goto err to an early return to
avoid this.
ok jsing
