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

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

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;