diff options
author | tb <> | 2025-08-03 10:33:46 +0000 |
---|---|---|
committer | tb <> | 2025-08-03 10:33:46 +0000 |
commit | 5ed7763488922cd8bf4082a5b5c0dc0510fdd1a4 (patch) | |
tree | 87ada305e3bec2a2abff7e69b7987a995c7a5ed5 /src/lib/libc/string/wcsstr.c | |
parent | b5992183ef86510bda13fd9674c1a55a9ea26f03 (diff) | |
download | openbsd-5ed7763488922cd8bf4082a5b5c0dc0510fdd1a4.tar.gz openbsd-5ed7763488922cd8bf4082a5b5c0dc0510fdd1a4.tar.bz2 openbsd-5ed7763488922cd8bf4082a5b5c0dc0510fdd1a4.zip |
Avoid signed overflow in BN_MONT_CTX_set()
ri is an int, so the check relied on signed overflow (UB). It's not really
reachable, but shrug.
reported by smatch via jsg
ok beck jsing kenjiro
Diffstat (limited to 'src/lib/libc/string/wcsstr.c')
0 files changed, 0 insertions, 0 deletions