summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/recallocarray.c
diff options
context:
space:
mode:
authorjsing <>2020-03-12 17:15:33 +0000
committerjsing <>2020-03-12 17:15:33 +0000
commit755b6e0d6d04ef513897a809271a846b984da4e8 (patch)
treef3e6b992fd31985d20dc9824ea049c8329f758fd /src/lib/libc/stdlib/recallocarray.c
parent8a5e591492888ac3f5e804aaef546ffe93f39818 (diff)
downloadopenbsd-755b6e0d6d04ef513897a809271a846b984da4e8.tar.gz
openbsd-755b6e0d6d04ef513897a809271a846b984da4e8.tar.bz2
openbsd-755b6e0d6d04ef513897a809271a846b984da4e8.zip
Use calloc() rather than malloc() when allocating buffers.
This reduces the chance of accidently leaking stack memory. ok inoguchi@ tb@
Diffstat (limited to 'src/lib/libc/stdlib/recallocarray.c')
0 files changed, 0 insertions, 0 deletions