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: didier <dgautheron@xxxxxxxx>
Date: Thu, 02 Mar 2006 21:12:41 +0000
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.

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

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.

Didier