aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/driver/memmod
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2026-05-18 16:08:27 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2026-05-18 16:39:21 +0200
commit5a7d225dcbd16ef06d77aa7e2a7f6c565863f12d (patch)
treea6c927b6d1a60204d5725613ed393f66449c7d0c /driver/memmod
parentmanager: tidy up leak and dead lock-thread defer in session loop (diff)
downloadwireguard-windows-master.tar.xz
wireguard-windows-master.zip
manager: tear down the event reader on partial decode failureHEADmaster
gob is positional; continue on a half-read value leaves the decoder mid-payload, and the next iteration reads what follows as if it were a new NotificationType. Return on any Decode error and let the pipe close take down the reader. The empty-tunnel-name check has to move below all four field decodes for the same reason, or it desyncs the stream just like the failure path used to. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'driver/memmod')
0 files changed, 0 insertions, 0 deletions