From: Francois-Xavier Le Bail Date: Thu, 24 Oct 2019 09:13:16 +0000 (+0000) Subject: ICMP6 RPL: Add a test capture file X-Git-Tag: tcpdump-4.99-bp~634 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/84df2672056cb8b7eac2603fba13e6a5d0ce0d39 ICMP6 RPL: 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 the new GET_ macros, the problem no longer exists. Thus no fix needed. The pcap file was updated to avoid pcap_loop() error messages. It was rename from pcapng to pcap because it is. Update the output of the test accordingly. Partial update from d7505276842e85bfd067fa21cdb32b8a2dc3c5e4 in 4.9 branch. --- diff --git a/tests/TESTLIST b/tests/TESTLIST index b86e5b30..edcd02f4 100644 --- a/tests/TESTLIST +++ b/tests/TESTLIST @@ -650,6 +650,7 @@ rx_ubik-oobr rx_ubik-oobr.pcap rx_ubik-oobr.out -c1 # bad packets from Junjie Wang ospf6_print_lshdr-oobr ospf6_print_lshdr-oobr.pcap ospf6_print_lshdr-oobr.out -vv +rpl-dao-oobr rpl-dao-oobr.pcap rpl-dao-oobr.out -vv # RTP tests # fuzzed pcap diff --git a/tests/rpl-dao-oobr.out b/tests/rpl-dao-oobr.out new file mode 100644 index 00000000..c123a6db --- /dev/null +++ b/tests/rpl-dao-oobr.out @@ -0,0 +1 @@ + 1 00:04:16.851768 IP6 (hlim 64, next-header ICMPv6 (58) payload length: 56) fe80::216:3eff:fe11:3424 > fe80::216:3eff:fe11:3424: ICMP6, RPL, (CLR)Destination Advertisement Object [dagid:,seq:0,instance:42,00] opt:subopt:13 len:2 opt:subopt:128 len:15 opt:subopt:13 len:15 [|icmp6] diff --git a/tests/rpl-dao-oobr.pcap b/tests/rpl-dao-oobr.pcap new file mode 100644 index 00000000..514e9b30 Binary files /dev/null and b/tests/rpl-dao-oobr.pcap differ