summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.c
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2014-06-27 16:38:03 +0000
committermiod <miod@openbsd.org>2014-06-27 16:38:03 +0000
commitc4427c45dbbd065ffe3f950e529dfb14e9b02396 (patch)
tree6d7239294a67142fb801ef88039d707a9dca06ea /lib/libc/stdlib/malloc.c
parentAvoid buffer overflow if there were too many arguments, also adjust lenp (diff)
downloadwireguard-openbsd-c4427c45dbbd065ffe3f950e529dfb14e9b02396.tar.xz
wireguard-openbsd-c4427c45dbbd065ffe3f950e529dfb14e9b02396.zip
Do not KASSERT an unsigned value being >= 0 after decrementing it; instead,
KASSERT it being > 0 before decrementing. ok dlg@
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions