Wireshark-dev: Re: [Wireshark-dev] Unistim plugin
From: "Newton, Don" <[email protected]>
Date: Wed, 13 Jun 2007 17:10:21 -0400
You are right I missed that in the README.  

One thing I noticed was if you ended up with %s (ala fuzztest) in the
buffer when you call proto_tree_add_text it will seg fault because of
the call to g_vsnprintf under the covers can't handle a %s with a NULL
buffer.  So I escaped that if it occurs which seems to fix the problem.
Is there a better way to guard against this?  See

Don Newton

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Joerg Mayer
Sent: Tuesday, June 12, 2007 12:13 AM
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] Unistim plugin

On Mon, Jun 11, 2007 at 06:45:25PM -0400, Newton, Don wrote:
> It has been tested on both Linux and Windows XP.  

Please perform some fuzz testing. This is likely to crash the code:
None(?) of the value_strings are properly terminated {0, NULL}

Also, please add the standard header to all the source files.

I haven't looked at the code, just skimmed over the beginnings of the

Joerg Mayer                                           <[email protected]>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.
Wireshark-dev mailing list
[email protected]

Attachment: patch-unistim.gz
Description: patch-unistim.gz