diff options
| author | 2017-03-06 09:04:58 +0000 | |
|---|---|---|
| committer | 2017-03-06 09:04:58 +0000 | |
| commit | c65550bb45e52d103d58e2d95b73884336c878fe (patch) | |
| tree | 34058cb743d70cbe4430304c5da588836e452e39 /lib/libc/stdlib/recallocarray.c | |
| parent | Collect strings correctly when on terminals that don't support UTF-8. (diff) | |
| download | wireguard-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
