summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_packet.c
diff options
context:
space:
mode:
authortb <>2022-11-22 08:46:27 +0000
committertb <>2022-11-22 08:46:27 +0000
commit96052c71b43800c427b93ecece19b7b546673aec (patch)
treef42696a4af811afee474635778e409fa46dc8c09 /src/lib/libssl/ssl_packet.c
parent2325d7d7cd2df0f30c5871230f890341b5c57ff0 (diff)
downloadopenbsd-96052c71b43800c427b93ecece19b7b546673aec.tar.gz
openbsd-96052c71b43800c427b93ecece19b7b546673aec.tar.bz2
openbsd-96052c71b43800c427b93ecece19b7b546673aec.zip
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
Diffstat (limited to 'src/lib/libssl/ssl_packet.c')
0 files changed, 0 insertions, 0 deletions