Ethereal-dev: Re: [Ethereal-dev] ethereal crash when set display filter

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

From: Ming Zhang <mingz@xxxxxxxxxxx>
Date: Thu, 02 Mar 2006 16:36:54 -0500
On Thu, 2006-03-02 at 21:12 +0000, didier wrote:
> hi
> Ming Zhang wrote:
> > fell curious, how you find out this bug? from gdb back trace, i can not
> > see any place mentioned packet-iscsi.c at all. :P
> more than 20 years of practice in debugging code I don't understand.

admire. yes, this comes from day-by-day experience.

> 
> Seriously?
> It's a null pointer and in the dump
> frame 1: cmp_contains()
> *fv_a->ftype  was  a "FT_PROTOCOL" a bit too much sensible for a smashed 
> memory.
> and
> frame 6: add_packet_to_packet_list()
> fdata->num was for an iSCSI packet. Anyway it's about iSCSI so 
> packet-iscsi.c

with u hint here, i spend quite a while time to understand this. :P
shamed.


> 
> After that it was easy because if I don't know all ethereal fine print I 
> need to improve its filtering speed by a factor 10 and I've got the 
> whole picture rather well.

so this is not a piece of code that u do not understand. ;)

> 
> Didier
>