]> The Tcpdump Group git mirrors - tcpdump/commitdiff
sflowprint is truncated correctly after printing IPv4 header
authorMichael Richardson <[email protected]>
Sun, 18 Aug 2019 22:27:40 +0000 (18:27 -0400)
committerFrancois-Xavier Le Bail <[email protected]>
Tue, 24 Sep 2019 12:12:09 +0000 (14:12 +0200)
tests/cve-2018-10105-segv-sflowprint.out

index 36a0a2c1d9331a41fd8abbd35515f2ef4f929c65..7285f2418c122412c389f38d78c550752e12ff7f 100644 (file)
@@ -1,2 +1,2 @@
 IP (tos 0x0, ttl 64, id 60790, offset 0, flags [none], proto UDP (17), length 896, bad cksum 72f3 (->72f7)!)
-    10.0.0.250.3895 > 10.1.2.5.6343: sFlowv5, IPv4 agent 10.0.0.250, agent-id 0, seqnum 4821297, uptime 2504103094, samples 5, length 8[|SFLOW]
+    10.0.0.250.3895 > 10.1.2.5.6343: sFlowv5 [length 8 < 28] (invalid)