summaryrefslogtreecommitdiffstats
path: root/device/receive.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-02-09 15:00:59 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2021-02-09 15:37:04 +0100
commit4b5d15ec2b1f148b4f718ed16d7e7f022b19fe1b (patch)
tree50c84857953c97478e3f3f7e9ebd97636f9c1129 /device/receive.go
parentdevice: remove listen port race in tests (diff)
downloadwireguard-go-4b5d15ec2b1f148b4f718ed16d7e7f022b19fe1b.tar.xz
wireguard-go-4b5d15ec2b1f148b4f718ed16d7e7f022b19fe1b.zip
device: lock elem in autodraining queue before freeing
Without this, we wind up freeing packets that the encryption/decryption queues still have, resulting in a UaF. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'device/receive.go')
0 files changed, 0 insertions, 0 deletions