summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/strerror_r.c
diff options
context:
space:
mode:
authorguenther <>2016-10-17 03:30:14 +0000
committerguenther <>2016-10-17 03:30:14 +0000
commite136d75872f02f48d5744f8e936b2ed07c641e9d (patch)
treedf5203a55de10a8b341c4646f077322546b5c9c2 /src/lib/libc/string/strerror_r.c
parent0293a237b08ee4da5eacd1c96495dc1b9831d520 (diff)
downloadopenbsd-e136d75872f02f48d5744f8e936b2ed07c641e9d.tar.gz
openbsd-e136d75872f02f48d5744f8e936b2ed07c641e9d.tar.bz2
openbsd-e136d75872f02f48d5744f8e936b2ed07c641e9d.zip
If BN_div_word() fails (by returning (BN_ULONG)-1) or if the division
fails to reduce the input in the expected space then fail out instead of overflowing the allocated buffer. combines openssl commits 28a89639da50b1caed4ff3015508f23173bf3e49 and 3612ff6fcec0e3d1f2a598135fe12177c0419582 ok doug@ beck@
Diffstat (limited to 'src/lib/libc/string/strerror_r.c')
0 files changed, 0 insertions, 0 deletions