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

Wireshark-dev: Re: [Wireshark-dev] Beginner article for custom dissector now on Code Project

From: "ronnie sahlberg" <ronniesahlberg@xxxxxxxxx>
Date: Sun, 1 Jul 2007 21:27:19 +0000
You need to terminate the value_string
with a
{0,NULL}
entry to tell wireshark where it ends.

Othervise you risk reading beyond the end which will cause a segfault.

On 7/1/07, Ken Thompson <kenthompson1@xxxxxxxxx> wrote:
I've recently published a beginner article on creating a custom
dissector.  This article would not of been possible without the
developers guide.

Note: The article is designed for the Win32 environment.

http://www.codeproject.com/useritems/custom_dissector.asp

Regards
Ken
_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@xxxxxxxxxxxxx
http://www.wireshark.org/mailman/listinfo/wireshark-dev