Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-dev: [Wireshark-dev] [Patch] Fix dct2000 dump bug

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: Martin Mathieson <martin.mathieson@xxxxxxxxxxxx>
Date: Tue, 13 Jun 2006 15:39:31 +0100

Hi,

Skips variant string bytes of dct2000 header when finding real packet data to dump.

Martin
Index: wiretap/catapult_dct2000.c
===================================================================
--- wiretap/catapult_dct2000.c	(revision 18450)
+++ wiretap/catapult_dct2000.c	(working copy)
@@ -648,6 +648,10 @@
     for (; pd[n] != '\0'; n++);
     n++;
 
+    /* Variant number (as string) */
+    for (; pd[n] != '\0'; n++);
+    n++;
+
     /* Direction & encap */
     n += 2;
 
  • Follow-Ups:
    • Re: [Wireshark-dev] [Patch] Fix dct2000 dump bug
      • From: Anders Broman
  • Prev by Date: [Wireshark-dev] include dir missing in SVN at rev 18450
  • Next by Date: [Wireshark-dev] Are we hit by this gdk bug?
  • Previous by thread: [Wireshark-dev] include dir missing in SVN at rev 18450
  • Next by thread: Re: [Wireshark-dev] [Patch] Fix dct2000 dump bug
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation