Ethereal-dev: Re: [Ethereal-dev] Help please - CVS ethereal blows up everytime

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

From: Guy Harris <guy@xxxxxxxxxx>
Date: Thu, 4 Apr 2002 15:25:01 -0800
On Fri, Apr 05, 2002 at 12:07:56AM +0100, Mark Burton wrote:
> Ok, I have fixed packet-iscsi.c as you suggested and it has stopped
> blowing up (diff attached).

Checked in.

> This must be a new compatibility issue as the iSCSI dissector has not
> changed in this respect.

Yes, I added code to check for that recently.

> It seems to be affecting other dissectors as well.

As I expected.

 For example, if I just capture some stuff off the local ethernet
> it crashes and gdb says:
> 
> #4  0x081f37cf in alloc_field_info (tree=0x84abe5c, hfindex=139100576, 
>     tvb=0x81f1d7c, start=139100576, length=0x846f0a4) at proto.c:1624
> #5  0x081f2519 in proto_tree_add_none_format (tree=0x84abe5c, hfindex=6080, 
>     tvb=0x846f0a4, start=8, length=4, format=0x1 <Address 0x1 out of bounds>)
>     at proto.c:688
> #6  0x08188451 in windowAttributes (tvb=0x846f0a4) at packet-x11.c:1447
> #7  0x08188880 in dissect_x11_request_loop (tvb=0x846f0a4, root=0x84ac104)
>     at packet-x11.c:1548
> #8  0x0818c77f in dissect_x11 (tvb=0x846f0a4, pinfo=0x847bce0, tree=0x84abbc8)
>     at packet-x11.c:2894

I'll look at fixing the X11 dissector as well.