Ethereal-dev: Re: [ethereal-dev] SIGSEGV while "Match Selected"

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: Mon, 25 Oct 1999 10:15:30 -0500
On Sun, Oct 24, 1999 at 06:37:51AM -0500, Kojak wrote:
> 
> 
> > > ** ERROR **: file ../ethereal/packet-sna.c: line 709 (dissect_fid4): 
> asse
> rtion failed: (offset+8 == 26)
> > > aborting...
> >       g_assert(offset+8 == 26);
> > However, I think "offset" is the offset from the beginning of the frame,
> > which means that it's not guaranteed to be the same for all link-layer
> > types.

I was trying to put in a debug assert in there, and I did it
incorrectly. :) It's safe to remove that line from the code. However,
I'd really like to see a trace that has an SNA FID 4 header (i.e., a
trace that bombs on this assert).

thanks,

--gilbert