]> The Tcpdump Group git mirrors - tcpdump/commitdiff
RX: Add a test capture file
authorFrancois-Xavier Le Bail <[email protected]>
Sun, 20 Oct 2019 13:27:59 +0000 (15:27 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Sun, 20 Oct 2019 14:22:07 +0000 (16:22 +0200)
This capture file triggered a buffer over-read with the 4.9.2 release
and was fixed in the 4.9.3 release.

It was fixed in master branch by commit
4154778a262b4a7449141535a99da4d13b4c8b2e.

The pcap file was updated to pass the sanity checks, keep only the
relevant packets and avoid pcap_loop() error messages.

Update the output of the test accordingly.

Partial update from c24922e692a52121e853a84ead6b9337f4c08a94
in 4.9 branch.

tests/TESTLIST
tests/rx_serviceid_oobr.out [new file with mode: 0644]
tests/rx_serviceid_oobr.pcap [new file with mode: 0644]

index c38f41a1efd32179fb4e36c86d39f456738f8e42..406a838ef647ffdb52b214c9343313a77407a8ed 100644 (file)
@@ -626,6 +626,7 @@ ikev1_id_ipv6_addr_subnet-oobr      ikev1_id_ipv6_addr_subnet-oobr.pcap     ikev1_id_ipv6
 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
+rx_serviceid_oobr      rx_serviceid_oobr.pcap          rx_serviceid_oobr.out
 
 # bad packets from Katie Holly
 mlppp-oobr             mlppp-oobr.pcap                 mlppp-oobr.out
diff --git a/tests/rx_serviceid_oobr.out b/tests/rx_serviceid_oobr.out
new file mode 100644 (file)
index 0000000..7f53a4b
--- /dev/null
@@ -0,0 +1,3 @@
+    1  06:56:17.131350 IP 250.15.128.19.68 > 249.251.157.8.63246: BOOTP/DHCP, unknown (0x00), length 8085
+    2  [Invalid header: caplen==0, len==0]
+    3  [Error converting time] IP 0.0.0.0.0 > 0.0.0.0.7004:  rx abort (539)
diff --git a/tests/rx_serviceid_oobr.pcap b/tests/rx_serviceid_oobr.pcap
new file mode 100644 (file)
index 0000000..d7089d7
Binary files /dev/null and b/tests/rx_serviceid_oobr.pcap differ