Ethereal-dev: Re: [Ethereal-dev] [christmasboy_81@xxxxxxxx: Bug#199779: Subject : ethereal: se

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

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Sun, 21 Sep 2003 19:37:52 -0700
On Sat, Sep 20, 2003 at 05:16:05PM +0100, Giles Scott wrote:
> item_str is NULL if no relation is specified, so the strcmp is failing.
> 
> Attached is a patch. and a gdb backtrace of the issue before the fix.

Why not just do that check immediately after the "Get the relation to
use, if any"? check?

Also, can it ever legitimately be null?  (E.g., are there cases where
the relation list isn't made visible?)