Skip to content
Permalink
Browse files

CVE-2017-13687/CHDLC: Add a test.

This is for the fix made a few commits before, which had no tests.

Add a test using the capture file supplied by Kamil Frankowicz.
  • Loading branch information...
guyharris authored and infrastation committed Feb 8, 2017
1 parent d6ba8dc commit 866c60236c41cea1e1654c8a071897292f64be49
Showing with 27 additions and 0 deletions.
  1. +1 −0 tests/TESTLIST
  2. +26 −0 tests/hoobr_chdlc_print.out
  3. BIN tests/hoobr_chdlc_print.pcap
@@ -455,6 +455,7 @@ hoobr_juniper hoobr_juniper.pcap hoobr_juniper.out
hoobr_juniper2 hoobr_juniper2.pcap hoobr_juniper2.out
hoobr_juniper3 hoobr_juniper3.pcap hoobr_juniper3.out
hoobr_parse_field hoobr_parse_field.pcap hoobr_parse_field.out
hoobr_chdlc_print hoobr_chdlc_print.pcap hoobr_chdlc_print.out

# bad packets from Wilfried Kirsch
slip-bad-direction slip-bad-direction.pcap slip-bad-direction.out -ve
@@ -0,0 +1,26 @@
unknown CHDLC protocol (0x3030)
unknown CHDLC protocol (0x3030)
unknown CHDLC protocol (0x3030)
unknown CHDLC protocol (0x3030)
unknown CHDLC protocol (0x3030)
unknown CHDLC protocol (0x3030)
unknown CHDLC protocol (0x3030)
unknown CHDLC protocol (0x3030)
unknown CHDLC protocol (0x3030)
unknown CHDLC protocol (0x3030)
unknown CHDLC protocol (0x3030)
unknown CHDLC protocol (0x3030)
unknown CHDLC protocol (0x3030)
unknown CHDLC protocol (0x3030)
unknown CHDLC protocol (0x3030)
unknown CHDLC protocol (0x3030)
unknown CHDLC protocol (0x3030)
unknown CHDLC protocol (0x3030)
unknown CHDLC protocol (0x3030)
unknown CHDLC protocol (0x3030)
unknown CHDLC protocol (0x3030)
unknown CHDLC protocol (0x3030)
unknown CHDLC protocol (0x3030)
unknown CHDLC protocol (0x3030)
unknown CHDLC protocol (0x3030)
[|chdlc]
Binary file not shown.

0 comments on commit 866c602

Please sign in to comment.
You can’t perform that action at this time.