Ethereal-dev: Re: [ethereal-dev] SIGSEGV vb_decrement_usage_count (tvb=0x0, count=1) at tvbuff

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

From: Florian Lohoff <flo@xxxxxxxxxx>
Date: Thu, 14 Sep 2000 19:14:19 +0200
On Thu, Sep 14, 2000 at 12:06:15PM -0400, Gilbert Ramirez wrote:
> On Thu, Sep 14, 2000 at 02:58:59PM +0200, Florian Lohoff wrote:
> > 
> > I dont think the easy fix of
> > 
> > if (tvbuff == NULL) 
> > 	return(0);
> > 
> > is correct and only considered a workaround for a bug i am currently
> > unable to diagnose.
> 
> Attached is the fix. Thanks.
> 
> BTW, what is creating these Ethernet packets? The Ethernet (802.3) length
> is the wrong value; it should be the length of the payload, not the
> entire packet. (that is, it should not include the ethernet header length).

Thanks - That works - BTW: Instead of not only prevent sigsegv
shouldnt it show that the value is wrong in the packet tree ?

Flo
-- 
Florian Lohoff		flo@xxxxxxxxxx		      	+49-5201-669912
      "Write only memory - Oops. Time for my medication again ..."