Wireshark-bugs: [Wireshark-bugs] [Bug 976] Buildbot crash output: fuzz-2006-06-26-2594.pcap

Date: Wed, 28 Jun 2006 09:54:02 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=976





------- Comment #2 from martin.mathieson@xxxxxxxxxxxx  2006-06-28 09:54 GMT -------
Hopefully fixed in revision 18589.

It looks like tvb_get_ephemeral_text() struggles with the null character before
'length' characters have been read and returns NULL.  proto_tree_add_text()
then chokes on the NULL string arg (or at least some implementations of
vsnprintf() do).

This change will probably fix this crash, but:
- should tvb_get_ephemeral_text() throw away characters seen before finding a
premature NULL?
- should proto_tree_add_text() test for a NULL string being passed in?


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.