Ethereal-dev: Re: [ethereal-dev] Bug in ethereal-0.7.6 + patch

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxx>
Date: Wed, 27 Oct 1999 13:30:26 -0700 (PDT)
> I found a null pointer bug in ethereal-0.7.6.  It seems you call
> val_to_str with a fmt pointing to NULL.  I patched this to be a dummy
> value (i.e. "foo") to avoid the seg fault.  I found this on FreeBSD
> 3.3-RELEASE.

We'd found this one after 0.7.6 went out the door; we checked in a fix
that replaces the "val_to_str()" call with a call to "match_strval()"
(which is what "val_to_str()" uses to do the value lookup), and the next
release should have the fix.