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