tcpdump/tests/esis_opt_prot-oobr.out
Francois-Xavier Le Bail f253e11009 Add a sanity check on packet header length
The packet length must be <= MAXIMUM_SNAPLEN.

Currently, there is no D-Bus printer, thus no need for a bigger length.

Now a pachet is valid if:
capture length != 0,
packet length != 0,
capture length <= MAXIMUM_SNAPLEN,
packet length <= MAXIMUM_SNAPLEN,
packet length >= capture length.

Moreover:
Fix the packet header lengths of some fuzzed pcap files:
If the lengths are > MAXIMUM_SNAPLEN, set them to MAXIMUM_SNAPLEN.
Thus they will be always usable with this new sanity check.
2018-02-07 18:48:49 +01:00

6 lines
228 B
Plaintext

ES-IS, length 262139
redirect (6), v: 1, checksum: 0x00c6 (unverified), holding time: 2303s, length indicator: 54
00.8e
SNPA (length: 0): <empty>
Protocols supported Option #129, length 11, value: CLNP (0x81), [|esis]