Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Ethereal-dev: RE: [Ethereal-dev] VJ compressed PPP packets ??

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

From: Jeff Foster <jfoste@xxxxxxxxxxxx>
Date: Fri, 23 Mar 2001 14:47:20 -0600

From: Gilbert Ramirez [mailto:gilramir@xxxxxxxxx]
Sent: Friday, March 23, 2001 2:22 PM

> > 
> > The attached capture file is a series for pings between
> > two test routers.  It was captured using the Nortel (Bay
> > Networks) router capture programs.  Two things are odd
> > in the capture,
> > 
> >
> 
> This segfaults for me. There seems to be an assumption
> in wcp_uncompress that tree is always non-NULL. This
> blows up because I don't have any read-filters or color-filters
> set up, so the first time through, tree *is* NULL.

You are correct.  Someone (Guy?) patched the add_item to
accept a null tree, but the add_subtree will segfault 
because the return value from add_item is null when the tree is
null.

I have patched the program and posted the update to the CVS tree.

Jeff Foster
jfoste@xxxxxxxxxxxx