Wireshark-dev: Re: [Wireshark-dev] [Bug 1001] free() invalid pointer in dissect_802_3 at packet
From: didier <dgautheron@xxxxxxxx>
Date: Thu, 27 Jul 2006 00:20:26 +0200
Hi,
Le mercredi 26 juillet 2006 à 21:54 +0200, Joerg Mayer a écrit :
> Hello,
> 
> anyone who knows his way around Wiresharks exception code (or C's
> setlongjmp
> etc statements). If so, please have a look at bug 1001.

It looks like free(0) isn't valid with their setup.

>From the code it doesn't seems to be a faulty call to free.

void except_free(void *ptr)
{
if (ptr)
    get_dealloc()(ptr);
}
in epan/except.c

should fixed it. 

Didier.