summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.c
diff options
context:
space:
mode:
authortobias <tobias@openbsd.org>2014-06-27 16:05:20 +0000
committertobias <tobias@openbsd.org>2014-06-27 16:05:20 +0000
commitcbf0108dea611d4824919f2feb927dfd00cd696d (patch)
treeeb07bd7efd2d94a55339a6beae9e47f5df74393b /lib/libc/stdlib/malloc.c
parentknf, no functional change. (diff)
downloadwireguard-openbsd-cbf0108dea611d4824919f2feb927dfd00cd696d.tar.xz
wireguard-openbsd-cbf0108dea611d4824919f2feb927dfd00cd696d.zip
Avoid buffer overflow if there were too many arguments, also adjust lenp
to contain actually consumed space on truncation. bootarg_list can be static again, it's not referenced from outside. ok deraadt@
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions