ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 8825] tshark.c crash

Date: Wed, 17 Jul 2013 02:16:50 +0000

Comment # 7 on bug 8825 from
Further notes from investigation:

- You have to run valgrind-wireshark.sh with -T (or straight tshark with -Vx)
in order to expose the crash, as otherwise the bytes are never read.

- The following patch 'fixes' the crash by never adding reassembled TCP frames
as data sources:

Index: epan/dissectors/packet-tcp.c
===================================================================
--- epan/dissectors/packet-tcp.c    (revision 50688)
+++ epan/dissectors/packet-tcp.c    (working copy)
@@ -1796,7 +1796,7 @@
             next_tvb = tvb_new_chain(tvb, ipfd_head->tvb_data);

             /* add desegmented data to the data source list */
-            add_new_data_source(pinfo, next_tvb, "Reassembled TCP");
+            /*add_new_data_source(pinfo, next_tvb, "Reassembled TCP");*/

             /*
              * Supply the sequence number of the first of the


You are receiving this mail because:
  • You are watching all bug changes.