Skip to content

Commit 866c602

Browse files
guyharrisinfrastation
authored andcommitted
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.
1 parent d6ba8dc commit 866c602

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

Diff for: tests/TESTLIST

+1
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,7 @@ hoobr_juniper hoobr_juniper.pcap hoobr_juniper.out
455455
hoobr_juniper2 hoobr_juniper2.pcap hoobr_juniper2.out
456456
hoobr_juniper3 hoobr_juniper3.pcap hoobr_juniper3.out
457457
hoobr_parse_field hoobr_parse_field.pcap hoobr_parse_field.out
458+
hoobr_chdlc_print hoobr_chdlc_print.pcap hoobr_chdlc_print.out
458459

459460
# bad packets from Wilfried Kirsch
460461
slip-bad-direction slip-bad-direction.pcap slip-bad-direction.out -ve

Diff for: tests/hoobr_chdlc_print.out

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
unknown CHDLC protocol (0x3030)
2+
unknown CHDLC protocol (0x3030)
3+
unknown CHDLC protocol (0x3030)
4+
unknown CHDLC protocol (0x3030)
5+
unknown CHDLC protocol (0x3030)
6+
unknown CHDLC protocol (0x3030)
7+
unknown CHDLC protocol (0x3030)
8+
unknown CHDLC protocol (0x3030)
9+
unknown CHDLC protocol (0x3030)
10+
unknown CHDLC protocol (0x3030)
11+
unknown CHDLC protocol (0x3030)
12+
unknown CHDLC protocol (0x3030)
13+
unknown CHDLC protocol (0x3030)
14+
unknown CHDLC protocol (0x3030)
15+
unknown CHDLC protocol (0x3030)
16+
unknown CHDLC protocol (0x3030)
17+
unknown CHDLC protocol (0x3030)
18+
unknown CHDLC protocol (0x3030)
19+
unknown CHDLC protocol (0x3030)
20+
unknown CHDLC protocol (0x3030)
21+
unknown CHDLC protocol (0x3030)
22+
unknown CHDLC protocol (0x3030)
23+
unknown CHDLC protocol (0x3030)
24+
unknown CHDLC protocol (0x3030)
25+
unknown CHDLC protocol (0x3030)
26+
[|chdlc]

Diff for: tests/hoobr_chdlc_print.pcap

1.97 KB
Binary file not shown.

0 commit comments

Comments
 (0)