Ethereal-dev: Re: [ethereal-dev] Ethereal bug: Empty filter field causes SEGV

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

From: Gilbert Ramirez <gram@xxxxxxxxxx>
Date: Wed, 29 Sep 1999 09:37:37 -0500
On Wed, Sep 29, 1999 at 06:32:05AM -0500, Santeri Paavolainen wrote:
> 
> 
> System: Linux 2.2.10, GTK 1.2.3.
> Ethereal version: 0.7.5
> Reproducible: Yes
> 
> This bug happens with the following procedure:
> 
> 1. Start ethereal
> 2. Choose "Capture", set filter "not ip", select ".. real time update",
>    click "ok".
> 3. While capture is on, select Display->Colorize
> 4. Select "New" from the colorize dialog
> 5. Clear the "Filter" field (make it empty)

Thanks. I can reproduce it without the capture filter, and without #5.
I'll apply your patch, and probably also try to avoid sending a NULL
display filter to dfilter_apply from add_packet_to_packet_list() in file.c

thanks for the report!

--gilbert