Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
CVE-2017-13014/White Board: Do more bounds checks.
This fixes a buffer over-read discovered by Yannick Formaggio. Add a test using the capture file supplied by the reporter(s). While we're at it, print a truncation error if the packets are truncated, rather than just, in effect, ignoring the result of the routines that print particular packet types.
- Loading branch information
1 parent
13ab8d1
commit cc35651
Showing
4 changed files
with
26 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| MPLS (label 197376, exp 7, [S], ttl 48) | ||
| IP (tos 0x30, ttl 48, id 12336, offset 0, flags [none], proto UDP (17), length 12336, bad cksum 3030 (->7754)!) | ||
| 48.4.4.4.4400 > 127.0.0.1.3503: | ||
| packet exceeded snapshot | ||
| IP (tos 0x30, ttl 48, id 12336, offset 0, flags [none], proto UDP (17), length 12336, bad cksum 3030 (->699d)!) | ||
| 48.48.48.48.3503 > 48.48.48.48.4567: * wb-prep:[|wb] | ||
| MPLS (label 197376, exp 7, [S], ttl 48) | ||
| IP (tos 0x30, ttl 48, id 12336, offset 0, flags [none], proto UDP (17), length 12336, bad cksum 3030 (->699d)!) | ||
| 48.48.48.48.4400 > 48.48.48.48.3503: | ||
| packet exceeded snapshot | ||
| IP (tos 0x30, ttl 48, id 12336, offset 0, flags [none], proto UDP (17), length 12336, bad cksum 3030 (->c624)!) | ||
| 48.48.0.1.3503 > 48.4.4.4.4567: * wb-prep:[|wb] | ||
| MPLS (label 197376, exp 7, [S], ttl 48) | ||
| IP (tos 0x30, ttl 48, id 12336, offset 0, flags [none], proto UDP (17), length 12336, bad cksum 3030 (->7754)!) | ||
| 48.4.4.4.4400 > 127.0.0.1.3503: | ||
| packet exceeded snapshot | ||
| IP (tos 0x30, ttl 48, id 12336, offset 0, flags [none], proto UDP (17), length 12336, bad cksum 3030 (->c624)!) | ||
| 48.48.0.1.3503 > 48.4.4.4.4567: * wb-prep:[|wb] |
Binary file not shown.