aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/contrib/extract-handshakes/README
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2022-11-03 13:20:29 -0500
committerJason A. Donenfeld <Jason@zx2c4.com>2022-11-03 19:57:26 +0100
commit139aac59a5ab7da913d4b6dd62692fa90e2ccad4 (patch)
tree6c7fde8e6650632f980434611fcda3d986c43190 /contrib/extract-handshakes/README
parentipc: freebsd: avoid leaking memory in kernel_get_device() (diff)
downloadwireguard-tools-139aac59a5ab7da913d4b6dd62692fa90e2ccad4.tar.xz
wireguard-tools-139aac59a5ab7da913d4b6dd62692fa90e2ccad4.zip
ipc: freebsd: NULL out some freed memory in kernel_set_device()
The `err` path in kernel_set_device() will attempt to free() allocated nvl_peers, but these two cases meant we could end up attempting a use after free or a double free, as we rely on nvlist_destroy(NULL) being a NOP as well as free(NULL). FreeBSD-Coverity: 1500421 Signed-off-by: Kyle Evans <kevans@FreeBSD.org> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'contrib/extract-handshakes/README')
0 files changed, 0 insertions, 0 deletions