]> The Tcpdump Group git mirrors - tcpdump/commit
erspan: add checks for data we don't print.
authorGuy Harris <[email protected]>
Mon, 28 Oct 2024 15:22:22 +0000 (08:22 -0700)
committerGuy Harris <[email protected]>
Mon, 28 Oct 2024 22:11:30 +0000 (15:11 -0700)
commitc2c25496778d0994b1c3874a03d3e411ac1cee6e
treeab5c97e748b8252e91c0c4603584939c197520de
parentfb3da6112098f6752149363c53732212a7ead1de
erspan: add checks for data we don't print.

Make sure we don't run past the end of the captured data for fields we
skip in ERSPAN type III packets.

Add a test file.
print-erspan.c
tests/TESTLIST
tests/erspan-type-iii-pb-1.out [new file with mode: 0644]
tests/erspan-type-iii-pb-1.pcap [new file with mode: 0644]