From: Francois-Xavier Le Bail Date: Thu, 24 Oct 2019 13:49:49 +0000 (+0000) Subject: IEEE 802.11: Add a test capture file X-Git-Tag: tcpdump-4.99-bp~631 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/9f09ec3ee6364337e61288b15627d38fc904b518 IEEE 802.11: Add a test capture file This capture file triggered a buffer over-read with the 4.9.2 release fixed in the 4.9.3 release. With a previous fix (3f1c4af0012eb36bcf740a7cb83770087b9983d7), the problem no longer exists. The pcap file was updated to pass the sanity checks and to avoid pcap_loop() error messages. Update the output of the test accordingly. Partial update from 4846b3c5d0a850e860baf4f07340495d29837d09 in 4.9 branch. --- diff --git a/tests/TESTLIST b/tests/TESTLIST index cf25cf3f..e08d31f0 100644 --- a/tests/TESTLIST +++ b/tests/TESTLIST @@ -654,6 +654,9 @@ ospf6_print_lshdr-oobr ospf6_print_lshdr-oobr.pcap ospf6_print_lshdr-oobr.out -v rpl-dao-oobr rpl-dao-oobr.pcap rpl-dao-oobr.out -vv hncp_prefix-oobr hncp_prefix-oobr.pcap hncp_prefix-oobr.out -vvv +# bad packets from Ryan Ackroyd +ieee802.11_meshhdr-oobr ieee802.11_meshhdr-oobr.pcap ieee802.11_meshhdr-oobr.out -H + # RTP tests # fuzzed pcap rtp-seg-fault-1 rtp-seg-fault-1.pcapng rtp-seg-fault-1.out -v -T rtp diff --git a/tests/ieee802.11_meshhdr-oobr.out b/tests/ieee802.11_meshhdr-oobr.out new file mode 100644 index 00000000..ceb51b28 --- /dev/null +++ b/tests/ieee802.11_meshhdr-oobr.out @@ -0,0 +1 @@ + 1 05:27:12.389034032 3472328296059908144us tsft 24.0 Mb/s 12334 MHz Turbo 48dBm noise [|802.11_radio] [|802.11] diff --git a/tests/ieee802.11_meshhdr-oobr.pcap b/tests/ieee802.11_meshhdr-oobr.pcap new file mode 100644 index 00000000..15df4fbe Binary files /dev/null and b/tests/ieee802.11_meshhdr-oobr.pcap differ