]> The Tcpdump Group git mirrors - tcpdump/commitdiff
FRF.16: Add a test capture file
authorFrancois-Xavier Le Bail <[email protected]>
Fri, 18 Oct 2019 15:25:30 +0000 (17:25 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Sat, 19 Oct 2019 13:05:46 +0000 (15:05 +0200)
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.

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

index 61288f254146c7289d2c6505d81d09a666a26633..c38f41a1efd32179fb4e36c86d39f456738f8e42 100644 (file)
@@ -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 (file)
index 0000000..d3bc971
--- /dev/null
@@ -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 (file)
index 0000000..2963a50
Binary files /dev/null and b/tests/frf16_magic_ie-oobr.pcap differ