diff options
author | 2011-05-11 07:37:04 +0000 | |
---|---|---|
committer | 2011-05-11 07:37:04 +0000 | |
commit | f00cd271ecb8d50b616630d9e8f22ce41219a0c9 (patch) | |
tree | 8cf5772cae11174312ed799862bcc594457e404a /lib/libc/stdlib/malloc.c | |
parent | Tweak previous from jmc@ (diff) | |
download | wireguard-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