summaryrefslogtreecommitdiff
path: root/tests/pktap-heap-overflow.out
Commit message (Collapse)AuthorAgeFilesLines
* PKTAP: Modernize packet parsing style.Denis Ovsienko2020-10-131-1/+1
| | | | | | Enable ND_LONGJMP_FROM_TCHECK. Remove one redundant custom bounds check and replace another with an ND_TCHECK_LEN(). Add two length checks and convert one. Report invalid packets appropriately. Update a test.
* PPP: Update the link-layer dissectors to void functionsFrancois-Xavier Le Bail2020-08-061-1/+1
| | | | | | Moreover: Remove trailing "_if" from some protocol names. Update the outputs of two tests accordingly.
* PKTAP: Update the link-layer dissector to a void functionFrancois-Xavier Le Bail2020-03-281-1/+1
| | | | | | Moreover: Remove trailing "_if" from protocol name. Update the output of a test accordingly.
* Use UTC/GMT time when building/checking tests filesFrancois-Xavier Le Bail2018-08-091-2/+2
| | | | | | | | | | | | | This will avoid some differences when checking in different time zones. We now run the tests without the '-t' option. This will allow to get problems/changes in time printing functions. Update the output of the tests accordingly. Moreover: Add the '-#' option to better identify a packet when there is a difference in output.
* Add more nd_print_trunc() callsFrancois-Xavier Le Bail2018-06-061-1/+1
| | | | Update the output of some tests accordingly.
* Add more nd_print_trunc() callsFrancois-Xavier Le Bail2018-05-101-1/+1
| | | | | | | Update the output of some tests accordingly. Moreover: Add a ndo_protocol field assignment.
* Add a sanity check on packet header lengthFrancois-Xavier Le Bail2018-02-071-1/+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.
* CVE-2017-13007/PKTAP: Pass a properly updated struct pcap_pkthdr to the ↵Guy Harris2017-09-131-0/+3
sub-dissector. The sub-dissector expects that the length and captured length will reflect the actual remaining data in the packet, not the raw amount including the PKTAP header; pass an updated header, just as we do for PPI. This fixes a buffer over-read discovered by Yannick Formaggio. Add a test using the capture file supplied by the reporter(s).