summaryrefslogtreecommitdiffhomepage
path: root/tun/testdata/fuzz/Fuzz_handleGRO/0da283f9a2098dec30d1c86784411a8ce2e8e03aa3384105e581f2c67494700d
diff options
context:
space:
mode:
authorJordan Whited <jordan@tailscale.com>2023-11-08 14:06:20 -0800
committerJason A. Donenfeld <Jason@zx2c4.com>2023-12-11 16:20:49 +0100
commit1cf89f5339b549236f38ce5fbc40f7bf993d9626 (patch)
tree25e5ebe8cb6f831705ec2efe895638fc19bba443 /tun/testdata/fuzz/Fuzz_handleGRO/0da283f9a2098dec30d1c86784411a8ce2e8e03aa3384105e581f2c67494700d
parent2e0774f246fb4fc1bd5cb44584d033038c89174e (diff)
tun: fix Device.Read() buf length assumption on Windows
The length of a packet read from the underlying TUN device may exceed the length of a supplied buffer when MTU exceeds device.MaxMessageSize. Reviewed-by: Brad Fitzpatrick <bradfitz@tailscale.com> Signed-off-by: Jordan Whited <jordan@tailscale.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'tun/testdata/fuzz/Fuzz_handleGRO/0da283f9a2098dec30d1c86784411a8ce2e8e03aa3384105e581f2c67494700d')
0 files changed, 0 insertions, 0 deletions