On Mon, Mar 14, 2011 at 12:17 PM, Chris Maynard <[email protected]> wrote: > Chris Maynard <chris.maynard@...> writes: > > Oops, I guess you still need to NULL-terminate context if n_oct is 0
The trouble is that tvb_get_nstringz0() calls tvb_get_nstringz() under the covers and its tvb_get_nstringz() that has the issue. It expects to be given a null terminated string, not a length specified string. BTW. I tried tvb_get_ephemeral_string() and it seemed to do the trick. ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <[email protected]> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:[email protected]?subject=unsubscribe
