summaryrefslogtreecommitdiff
path: root/tests/tcp-auth-heapoverflow.pcap
Commit message (Collapse)AuthorAgeFilesLines
* Add a sanity check on packet header lengthFrancois-Xavier Le Bail2018-02-071-0/+0
| | | | | | | | | | | | | | | | | | The packet length must be <= MAXIMUM_SNAPLEN. Currently, there is no D-Bus printer, thus no need for a bigger length. Now a pachet is valid if: capture length != 0, packet length != 0, capture length <= MAXIMUM_SNAPLEN, packet length <= MAXIMUM_SNAPLEN, packet length >= capture length. Moreover: Fix the packet header lengths of some fuzzed pcap files: If the lengths are > MAXIMUM_SNAPLEN, set them to MAXIMUM_SNAPLEN. Thus they will be always usable with this new sanity check.
* amend the TCP authentication test caseDenis Ovsienko2017-01-181-0/+0
| | | | | | Edit the .pcap file to change the TCP option kind from 20 to 29 to match the changes done to the decoder. Now the code flow and hence the text output are back to how they were before that change.
* Fix the pcap version in some tests/ fuzzed pcap filesFrancois-Xavier Le Bail2017-01-181-0/+0
| | | | | | They will be always usable with the upcoming libpcap versions sanity checks. pcap: old version: 12336.12336, new version: 2.4 pcap-ng: old version: 1.12336, new version: 1.0
* CVE-2016-7975/Fix another bounds check.Guy Harris2017-01-181-0/+0
Fixes a heap overflow found with American Fuzzy Lop by Hanno Böck.