Commit Graph

2 Commits

Author SHA1 Message Date
Francois-Xavier Le Bail
d1e386ca6a Change some pcap tests to test the printers again
The added sanity check was: packet length >= capture length.

Thus update packet length to be capture length if lower.

This change is a followup to commit 9e6ba479d8.
2019-01-29 14:27:06 +01:00
Denis Ovsienko
c2f6833ddd CVE-2017-13044/HNCP: add DHCPv4-Data bounds checks
dhcpv4_print() in print-hncp.c had the same bug as dhcpv6_print(), apply
a fix along the same lines.

This fixes a buffer over-read discovered by Bhargava Shastry,
SecT/TU Berlin.

Add a test using the capture file supplied by the reporter(s).
2017-09-13 12:25:44 +01:00