Commit Graph

4 Commits

Author SHA1 Message Date
Guy Harris
82cfcd4391 Revert "Clean a bunch of fuzzed files not to fuzz the container."
This reverts commit a02c2faeec.

That zeroed out bits in the non-reserved portion of the field; the
reserved portion was already zero.
2022-03-04 18:03:41 -08:00
Guy Harris
a02c2faeec Clean a bunch of fuzzed files not to fuzz the container.
For some reason pcap fuzzers just *love* to fuzz the "link-layer type
plus other stuff" part of the pcap file header.  That can produce a file
that has non-zero values in reserved fields, which means it can get
rejected well before being handed to anything for dissection.

Clear out one of the reserved parts of that field, as we'll be changing
libpcap to check for non-zero values and reporting an error.
2022-03-04 16:04:46 -08:00
Guy Harris
17aa4279ac Change tests/hoobr_bfd_print.pcap to test the BFD printer again.
Clamp the on-the-wire length values of the packets at 262144, so that we
hand the packets to the BFD printer, rather than just bailing out before
we ever get there.
2018-11-21 15:09:39 -08:00
Guy Harris
6ea5b79e9d Add a test from Kamil Frankowicz for the BFD dissector. 2018-07-10 01:07:25 -07:00