diff options
author | Peter Wu <peter@lekensteyn.nl> | 2018-07-06 01:57:44 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2018-07-06 12:11:09 +0000 |
commit | caa8efa0d2435c527bb947c3fb3f1b4a610ef515 (patch) | |
tree | 47b514e167685dcff03d644261ec4c27929d18b2 /test/captures | |
parent | 11871bee1c06723f9d7d4ef111d12d02d78814a2 (diff) |
tests: add regression tests for Follow TCP Stream
Verified that the tests failed without the fixes for the linked bugs.
The tests have full statement coverage(*1) for check_follow_fragments
and follow_tcp_tap_listener. For details and Scapy script, see:
https://git.lekensteyn.nl/peter/wireshark-notes/commit/crafted-pkt/badsegments.py?id=4ecf9d858b49e76d8a9c29df01ce1bd523ae6704
(*1) except for `if (data_length <= data_offset) { data_length = 0; }`
Change-Id: I625536df375272cf6c9116231194c39df1217fae
Ping-Bug: 13700
Ping-Bug: 14944
Reviewed-on: https://code.wireshark.org/review/28618
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'test/captures')
-rw-r--r-- | test/captures/tcp-badsegments.pcap | bin | 0 -> 1732 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/test/captures/tcp-badsegments.pcap b/test/captures/tcp-badsegments.pcap Binary files differnew file mode 100644 index 0000000000..a48b91649c --- /dev/null +++ b/test/captures/tcp-badsegments.pcap |