]> The Tcpdump Group git mirrors - tcpdump/commitdiff
IEEE 802.11: Add a test capture file
authorFrancois-Xavier Le Bail <[email protected]>
Thu, 24 Oct 2019 13:49:49 +0000 (13:49 +0000)
committerFrancois-Xavier Le Bail <[email protected]>
Thu, 24 Oct 2019 14:37:36 +0000 (14:37 +0000)
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.

tests/TESTLIST
tests/ieee802.11_meshhdr-oobr.out [new file with mode: 0644]
tests/ieee802.11_meshhdr-oobr.pcap [new file with mode: 0644]

index cf25cf3f53618e129f0a173c953d11a295c4fb26..e08d31f046c754191abd0dbc1ab943864f1af682 100644 (file)
@@ -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 (file)
index 0000000..ceb51b2
--- /dev/null
@@ -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 (file)
index 0000000..15df4fb
Binary files /dev/null and b/tests/ieee802.11_meshhdr-oobr.pcap differ