summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.c
diff options
context:
space:
mode:
authorstefan <stefan@openbsd.org>2016-01-06 10:06:50 +0000
committerstefan <stefan@openbsd.org>2016-01-06 10:06:50 +0000
commit0e28ed3b6860b56dbe1d55b5ce0e0be5ada089dc (patch)
treefef08c372b7c96f79d28e709929538861aa5564a /lib/libc/stdlib/malloc.c
parentfix comment typos (diff)
downloadwireguard-openbsd-0e28ed3b6860b56dbe1d55b5ce0e0be5ada089dc.tar.xz
wireguard-openbsd-0e28ed3b6860b56dbe1d55b5ce0e0be5ada089dc.zip
Prevent integer overflows in sosend() and soreceive() by converting
min()+uiomovei() to ulmin()+uiomove() and re-arranging space computations in sosend(). The soreceive() part was also reported by Martin Natano. ok bluhm@ and also discussed with tedu@
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions