summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_lib.c
diff options
context:
space:
mode:
authorjsing <>2024-04-15 14:35:25 +0000
committerjsing <>2024-04-15 14:35:25 +0000
commit8cf5100e6cbe503f43b30d286c72d8e015986786 (patch)
tree7c40fc922bc215b7006125221e65b5d3a04adbe4 /src/lib/libssl/ssl_lib.c
parentd52ee90c31e3fa0a4bb23891cb94a4f2494cc513 (diff)
downloadopenbsd-8cf5100e6cbe503f43b30d286c72d8e015986786.tar.gz
openbsd-8cf5100e6cbe503f43b30d286c72d8e015986786.tar.bz2
openbsd-8cf5100e6cbe503f43b30d286c72d8e015986786.zip
Prevent negative zero from being created via BN bit functions.
Both BN_clear_bit() and BN_mask_bits() can create zero values - in both cases ensure that the negative sign is correctly handled if the value becomes zero. Thanks to Guido Vranken for providing a reproducer. Fixes oss-fuzz #67901 ok tb@
Diffstat (limited to 'src/lib/libssl/ssl_lib.c')
0 files changed, 0 insertions, 0 deletions