diff options
author | 2017-03-17 14:53:08 +0000 | |
---|---|---|
committer | 2017-03-17 14:53:08 +0000 | |
commit | 977aa0f22cea0809e6a84289ed753ba3f0b53fa7 (patch) | |
tree | edc3a3a21d8bdc826b2eb933725c61be66cc74c9 /lib/libc/stdlib/malloc.3 | |
parent | Fix a couple of argument types. (diff) | |
download | wireguard-openbsd-977aa0f22cea0809e6a84289ed753ba3f0b53fa7.tar.xz wireguard-openbsd-977aa0f22cea0809e6a84289ed753ba3f0b53fa7.zip |
Use recallocarray() to avoid leaving detritus in memory when resizing
buffers. We don't bother doing this for objects containing pointers,
but focus on controllable data.
ok millert
Diffstat (limited to 'lib/libc/stdlib/malloc.3')
0 files changed, 0 insertions, 0 deletions