summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.c
diff options
context:
space:
mode:
authorflorian <florian@openbsd.org>2018-01-01 09:01:21 +0000
committerflorian <florian@openbsd.org>2018-01-01 09:01:21 +0000
commit0233b312c5cd7eded736499df503ae7a3b641ca6 (patch)
treef3872b3a5e3d0768f71ca13870c03ff4dbb1d679 /lib/libc/stdlib/malloc.c
parentWe are either allocating 2 or three array members. Unroll while loop (diff)
downloadwireguard-openbsd-0233b312c5cd7eded736499df503ae7a3b641ca6.tar.xz
wireguard-openbsd-0233b312c5cd7eded736499df503ae7a3b641ca6.zip
free(9) sizes for sys_execve.
Convert the hand rolled loop to strlcpy which gives us the size for free(9). OK visa
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions