summaryrefslogtreecommitdiffhomepage
path: root/dhcpv6
diff options
context:
space:
mode:
authorAndrey Smirnov <andrey.smirnov@talos-systems.com>2021-12-13 22:09:15 +0300
committerChris K <c@chrisko.ch>2021-12-13 23:08:28 -0800
commit5297eed8f4898e7a29898c70d6450d2daebecd17 (patch)
tree56bf7ba3df3da2c032d2e9bd58f22c3dded21a67 /dhcpv6
parent7d93572ebe8e3ba39a15bc7b70757c83a5fb8352 (diff)
fix: check IP/UDP header size before trying to access it
This should fix the panic we've seen with the malformed packets on the wire. Remaining buffer size should be checked before trying to access the data, otherwise Go might panic on out of bounds slice operation. Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
Diffstat (limited to 'dhcpv6')
0 files changed, 0 insertions, 0 deletions