diff options
author | jsing <> | 2020-03-12 17:15:33 +0000 |
---|---|---|
committer | jsing <> | 2020-03-12 17:15:33 +0000 |
commit | 755b6e0d6d04ef513897a809271a846b984da4e8 (patch) | |
tree | f3e6b992fd31985d20dc9824ea049c8329f758fd /src/lib/libc/stdlib/reallocarray.c | |
parent | 8a5e591492888ac3f5e804aaef546ffe93f39818 (diff) | |
download | openbsd-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/reallocarray.c')
0 files changed, 0 insertions, 0 deletions