diff options
author | tb <> | 2022-11-22 08:46:27 +0000 |
---|---|---|
committer | tb <> | 2022-11-22 08:46:27 +0000 |
commit | 96052c71b43800c427b93ecece19b7b546673aec (patch) | |
tree | f42696a4af811afee474635778e409fa46dc8c09 /src/lib/libssl/ssl_packet.c | |
parent | 2325d7d7cd2df0f30c5871230f890341b5c57ff0 (diff) | |
download | openbsd-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