diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-04-26 22:07:03 -0400 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-04-26 22:07:03 -0400 |
commit | 8246d251ea9b9cbef07082bd69280a8f988cec0c (patch) | |
tree | ae8c85de45efcf73eca721b1af9169b1d3874cf5 /conn/mark_default.go | |
parent | c9db4b7aaa22b29f1c7c05ee8e3125ec2cab6965 (diff) |
conn: windows: do not error out when receiving UDP jumbogram
If we receive a large UDP packet, don't return an error to receive.go,
which then terminates the receive loop. Instead, simply retry.
Considering Winsock's general finickiness, we might consider other
places where an attacker on the wire can generate error conditions like
this.
Reported-by: Sascha Dierberg <sascha.dierberg@gmail.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'conn/mark_default.go')
0 files changed, 0 insertions, 0 deletions