summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/vasprintf.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2017-03-17 14:51:26 +0000
committerderaadt <deraadt@openbsd.org>2017-03-17 14:51:26 +0000
commitc6a25008620a3dd08962f102643957f26307badd (patch)
tree07566f6c9e434af7f0c6d96d47270b7601c75a8d /lib/libc/stdio/vasprintf.c
parentImport the DHCPv6 relay implementation. (diff)
downloadwireguard-openbsd-c6a25008620a3dd08962f102643957f26307badd.tar.xz
wireguard-openbsd-c6a25008620a3dd08962f102643957f26307badd.zip
Grow buffers using recallocarray, to avoid the potential dribble that
the standard realloc*() functions can leave behind. imsg buffers are sometimes used in protocol stacks which require some secrecy, and layering violations would be needed to resolve this issue otherwise. Discussed with many.
Diffstat (limited to 'lib/libc/stdio/vasprintf.c')
0 files changed, 0 insertions, 0 deletions