summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2016-10-17 03:30:14 +0000
committerguenther <guenther@openbsd.org>2016-10-17 03:30:14 +0000
commite48df6027d6a0a7a1299fb879b4dc79882a32052 (patch)
tree6ae2a0ab7b755638b9d7fc119d243c7bbb1fb8a4 /lib/libc
parent/var/tmp -> /tmp (diff)
downloadwireguard-openbsd-e48df6027d6a0a7a1299fb879b4dc79882a32052.tar.xz
wireguard-openbsd-e48df6027d6a0a7a1299fb879b4dc79882a32052.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 'lib/libc')
0 files changed, 0 insertions, 0 deletions