From: Francois-Xavier Le Bail Date: Fri, 18 Oct 2019 15:25:30 +0000 (+0200) Subject: FRF.16: Add a test capture file X-Git-Tag: tcpdump-4.99-bp~648 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/8f19f1890c5cb962c1b6953e3deb25f171e9b3a0 FRF.16: Add a test capture file This capture file triggered a buffer over-read with the 4.9.2 release and was 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 pass the sanity checks and to avoid pcap_loop() error messages. Update the output of the test accordingly. Partial update from aa3e54f594385ce7e1e319b0c84999e51192578b in 4.9 branch. --- diff --git a/tests/TESTLIST b/tests/TESTLIST index 61288f25..c38f41a1 100644 --- a/tests/TESTLIST +++ b/tests/TESTLIST @@ -625,6 +625,7 @@ olsr-oobr-2 olsr-oobr-2.pcap olsr-oobr-2.out -v ikev1_id_ipv6_addr_subnet-oobr ikev1_id_ipv6_addr_subnet-oobr.pcap ikev1_id_ipv6_addr_subnet-oobr.out -v isakmp-various-oobr isakmp-various-oobr.pcap isakmp-various-oobr.out -v aoe-oobr-1 aoe-oobr-1.pcap aoe-oobr-1.out -v -c1 +frf16_magic_ie-oobr frf16_magic_ie-oobr.pcap frf16_magic_ie-oobr.out -v -c1 # bad packets from Katie Holly mlppp-oobr mlppp-oobr.pcap mlppp-oobr.out diff --git a/tests/frf16_magic_ie-oobr.out b/tests/frf16_magic_ie-oobr.out new file mode 100644 index 00000000..d3bc971c --- /dev/null +++ b/tests/frf16_magic_ie-oobr.out @@ -0,0 +1,2 @@ + 1 [Error converting time] FRF.16 Control, Flags [Begin, End, Control], Unknown Message (0x00), length 262144 + IE Magic Number (3), length 3: [|mfr] diff --git a/tests/frf16_magic_ie-oobr.pcap b/tests/frf16_magic_ie-oobr.pcap new file mode 100644 index 00000000..2963a50f Binary files /dev/null and b/tests/frf16_magic_ie-oobr.pcap differ