summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2014-04-22 22:11:23 +0000
committermillert <millert@openbsd.org>2014-04-22 22:11:23 +0000
commit2d7a0350264487ea8cf113b797528b4a42f38485 (patch)
tree58f440f28a149682e79b5c149f0f0e8314c0eed4 /lib/libc/stdlib/malloc.c
parentSo it turns out that libcrypto on i386 platforms, unconditionaly compiles this (diff)
downloadwireguard-openbsd-2d7a0350264487ea8cf113b797528b4a42f38485.tar.xz
wireguard-openbsd-2d7a0350264487ea8cf113b797528b4a42f38485.zip
Use calloc() instead of malloc(n * s) followed by memset(). Not
actually used on OpenBSD but changed to avoid false positives in audits. From Jean-Philippe Ouellet.
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions