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: Re: [Wireshark-dev] Beginner article for custom dissector now on Code Project

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


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


  • References:
    • [Wireshark-dev] Beginner article for custom dissector now on Code Project
      • From: Ken Thompson
  • Prev by Date: Re: [Wireshark-dev] [Wireshark-commits] rev 22227: /trunk/ /trunk/asn1/cmip/: Makefile.nmake cmip-exp.cnf cmip.cnf packet-cmip-template.c /trunk/epan/dissectors/: packet-cmip.c packet-cmip.h packet-gnm.c packet-gnm.h /trunk/asn1/gnm/: GNM.asn Makefile ...
  • Next by Date: Re: [Wireshark-dev] [Wireshark-commits] rev 22227: /trunk//trunk/asn1/cmip/: Makefile.nmake cmip-exp.cnf cmip.cnfpacket-cmip-template.c /trunk/epan/dissectors/: packet-cmip.cpacket-cmip.h packet-gnm.c packet-gnm.h /trunk/asn1/gnm/:GNM.asn Makefile ...
  • Previous by thread: [Wireshark-dev] Beginner article for custom dissector now on Code Project
  • Next by thread: Re: [Wireshark-dev] Beginner article for custom dissector now on Code Project
  • Index(es):
    • Date
    • Thread

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