]> The Tcpdump Group git mirrors - tcpdump/commit
PKTAP: Modernize packet parsing style.
authorDenis Ovsienko <[email protected]>
Mon, 12 Oct 2020 21:55:41 +0000 (22:55 +0100)
committerDenis Ovsienko <[email protected]>
Tue, 13 Oct 2020 11:17:42 +0000 (12:17 +0100)
commit9d7cc12ee913c3805c6516fdf4cbe4cd496fee55
tree1aa00aa7179afc4744e65793030c13c331bdf710
parent05a996fc3f4f85f34e6ff151adcb70538863a861
PKTAP: Modernize packet parsing style.

Enable ND_LONGJMP_FROM_TCHECK. Remove one redundant custom bounds check
and replace another with an ND_TCHECK_LEN(). Add two length checks and
convert one. Report invalid packets appropriately. Update a test.
print-pktap.c
tests/pktap-heap-overflow.out