diff options
author | 2016-01-06 10:06:50 +0000 | |
---|---|---|
committer | 2016-01-06 10:06:50 +0000 | |
commit | 0e28ed3b6860b56dbe1d55b5ce0e0be5ada089dc (patch) | |
tree | fef08c372b7c96f79d28e709929538861aa5564a /lib/libc/stdlib/malloc.c | |
parent | fix comment typos (diff) | |
download | wireguard-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