]> The Tcpdump Group git mirrors - tcpdump/commitdiff
DTP: improve packet integrity checks
authorDenis Ovsienko <[email protected]>
Sat, 5 Sep 2015 20:17:30 +0000 (21:17 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Thu, 19 Nov 2015 13:58:53 +0000 (14:58 +0100)
Adjust the TLV infinite loop check to require the right amount of bytes
for T and L; do it after printing the TLV header so it is easier to
understand what was wrong. Check if the TLV V is within the capture. Use
the new "invalid" exit label to indicate a packet anomaly and add more
checks for the length value into the type-specific case blocks. Print
the domain string with fn_printzp().


No differences found