]> The Tcpdump Group git mirrors - tcpdump/commit
Add more checks.
authorGuy Harris <[email protected]>
Fri, 3 May 2019 18:11:58 +0000 (11:11 -0700)
committerGuy Harris <[email protected]>
Fri, 3 May 2019 18:11:58 +0000 (11:11 -0700)
commit2055e39f2af0aba1ab3945ea8f3e82c614a691a3
treef41130a1a7efc0a598e5838e41684f5b83334131
parentcba9b77a98e9dde764abde71a899ee8937ca56e8
Add more checks.

Check that the payload specified in a Jumbo Payload option isn't smaller
than the total number of bytes worth of extension headers; if it is,
report truncation.

Check that:

1) we don't have more than one Jumbo Payload option;
2) we don't have a Jumbo Payload option if the payload length in the
IPv6 header was non-zero;
3) we don't have a Jumbo Payload option with a value < 65536.
print-ip6.c
print-ip6opts.c