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

Date: Wed, 17 Jul 2013 02:27:40 +0000

Comment # 8 on bug 8825 from
With the following debug statements in:
Index: epan/dissectors/packet-tcp.c
===================================================================
--- epan/dissectors/packet-tcp.c    (revision 50688)
+++ epan/dissectors/packet-tcp.c    (working copy)
@@ -1706,6 +1706,7 @@
         }
         last_fragment_len = len;

+        fprintf(stderr, "Adding fragment for frame %u\n", pinfo->fd->num);
         ipfd_head = fragment_add(&tcp_reassembly_table, tvb, offset,
                                  pinfo, msp->first_frame, NULL,
                                  seq - msp->seq, len,
@@ -1796,6 +1797,7 @@
             next_tvb = tvb_new_chain(tvb, ipfd_head->tvb_data);

             /* add desegmented data to the data source list */
+            fprintf(stderr, "Adding new data source at frame %u\n",
pinfo->fd->num);
             add_new_data_source(pinfo, next_tvb, "Reassembled TCP");

             /*


I get the following output:
-snip-
Adding fragment for frame 142
Adding fragment for frame 143
Adding fragment for frame 144
Adding fragment for frame 145
Adding new data source at frame 145
Adding fragment for frame 145
Adding new data source at frame 145

and then the crash


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