diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-02-09 15:00:59 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-02-09 15:37:04 +0100 |
commit | 4b5d15ec2b1f148b4f718ed16d7e7f022b19fe1b (patch) | |
tree | 50c84857953c97478e3f3f7e9ebd97636f9c1129 /device/receive.go | |
parent | 6548a682a9a06cf7041e25f7aa5ac57f1f4cf3b4 (diff) |
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