summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/recallocarray.c
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2017-03-06 09:04:58 +0000
committermpi <mpi@openbsd.org>2017-03-06 09:04:58 +0000
commitc65550bb45e52d103d58e2d95b73884336c878fe (patch)
tree34058cb743d70cbe4430304c5da588836e452e39 /lib/libc/stdlib/recallocarray.c
parentCollect strings correctly when on terminals that don't support UTF-8. (diff)
downloadwireguard-openbsd-c65550bb45e52d103d58e2d95b73884336c878fe.tar.xz
wireguard-openbsd-c65550bb45e52d103d58e2d95b73884336c878fe.zip
It is unsafe to dereference ``xfer'' after calling the callback as it
might free it. Prevent a use-after-free in various aynchronous cases. Found while looking at another user-after-free pointed out by ehrhardt@.
Diffstat (limited to 'lib/libc/stdlib/recallocarray.c')
0 files changed, 0 insertions, 0 deletions