Wireshark

  • Riverbed Technology
  • WinPcap
SHARKFEST '13 - Wireshark Developer and User Conference - June 16-19, 2013 - UC Berkeley
  • 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] Should we check value_strings for NULL termination while registering?

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


From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Fri, 22 Sep 2006 16:27:59 -0700


On Sep 22, 2006, at 3:21 PM, ronnie sahlberg wrote:

Well   an easy way to make sure all of them are properly terminated
with a {0,NULL} is by using variadic macros.
Unfortunately not standard until c99   but been part of GCC forever.

But not necessarily a part of various vendor compilers forever, and people *do* use vendor compilers on UN*X to compile Wireshark (Sun C, HP's C compiler, and IBM's xlc, to name three that, as I remember, are used to compile Wireshark).

  • References:
    • [Wireshark-dev] Should we check value_strings for NULL termination while registering?
      • From: Ulf Lamping
    • Re: [Wireshark-dev] Should we check value_strings for NULL termination while registering?
      • From: ronnie sahlberg
  • Prev by Date: Re: [Wireshark-dev] Is it possible to add the actual data (80 bytes) to the proto tree in a chunk?
  • Next by Date: [Wireshark-dev] svn:ignore tools/TAGS & plugins/TAGS
  • Previous by thread: Re: [Wireshark-dev] Should we check value_strings for NULL termination while registering?
  • Next by thread: Re: [Wireshark-dev] Crash after Init dissectors (was newbie build problem)
  • Index(es):
    • Date
    • Thread

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