diff options
author | jsing <> | 2024-04-15 14:35:25 +0000 |
---|---|---|
committer | jsing <> | 2024-04-15 14:35:25 +0000 |
commit | d2daaa3702c2e527e918b7aa9f6c6183ca882b53 (patch) | |
tree | 7c40fc922bc215b7006125221e65b5d3a04adbe4 /src/lib/libcrypto/conf/conf_api.c | |
parent | f7646eb021595fb6f85c38b99e043277fa2436bc (diff) | |
download | openbsd-d2daaa3702c2e527e918b7aa9f6c6183ca882b53.tar.gz openbsd-d2daaa3702c2e527e918b7aa9f6c6183ca882b53.tar.bz2 openbsd-d2daaa3702c2e527e918b7aa9f6c6183ca882b53.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/libcrypto/conf/conf_api.c')
0 files changed, 0 insertions, 0 deletions