summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.c
diff options
context:
space:
mode:
authorblambert <blambert@openbsd.org>2011-05-11 07:37:04 +0000
committerblambert <blambert@openbsd.org>2011-05-11 07:37:04 +0000
commitf00cd271ecb8d50b616630d9e8f22ce41219a0c9 (patch)
tree8cf5772cae11174312ed799862bcc594457e404a /lib/libc/stdlib/malloc.c
parentTweak previous from jmc@ (diff)
downloadwireguard-openbsd-f00cd271ecb8d50b616630d9e8f22ce41219a0c9.tar.xz
wireguard-openbsd-f00cd271ecb8d50b616630d9e8f22ce41219a0c9.zip
Pre-allocate memory to avoid sleeping after performing a lookup, which
may lead to a race. ok markus@ mikeb@
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions