summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/malloc.3
diff options
context:
space:
mode:
authorguenther <>2016-10-17 03:30:14 +0000
committerguenther <>2016-10-17 03:30:14 +0000
commit02f5f4c1d4ea0ed62e460c1178fae38b6e8fa0c9 (patch)
treedf5203a55de10a8b341c4646f077322546b5c9c2 /src/lib/libc/stdlib/malloc.3
parent09bb2c4b71e304ed2277f458ee858804d17c5d2d (diff)
downloadopenbsd-02f5f4c1d4ea0ed62e460c1178fae38b6e8fa0c9.tar.gz
openbsd-02f5f4c1d4ea0ed62e460c1178fae38b6e8fa0c9.tar.bz2
openbsd-02f5f4c1d4ea0ed62e460c1178fae38b6e8fa0c9.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/stdlib/malloc.3')
0 files changed, 0 insertions, 0 deletions