On Wed, May 30, 2007 at 04:09:06PM -0400, Kevin A. Noll wrote:
> So I'm looking at the value strings, and I'm wondering why we should
> terminate them with {0, NULL} and what happens if one of the value
> pairs needs to be {0, "a real string"} ?
You can still use 0, "a real string" as one of the entries. You just
need to have 0, NULL as the final entry. If you don't, the code will
keep reading past the end and run into random memory space looking for
that 0, NULL entry.
Steve
_______________________________________________
Wireshark-dev mailing list
[email protected]
http://www.wireshark.org/mailman/listinfo/wireshark-dev