Ethereal-dev: Re: [ethereal-dev] LPD Packages (SEG-FAULT)

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: Wed, 15 Dec 1999 08:53:06 -0600
On Wed, Dec 15, 1999 at 12:00:33PM +0100, Gregor Glomm wrote:
> Hi,
> I have a trace with a few LPD connections made with the Novell
> LANALAZER.
> Opening the trace as normal user causes a SEG-FAULT.
> Ethereal have the u+s permissions set.
> Opening the trace as su works.
> 
> Here is the bt from gdb:
> 
> Starting program: /usr/local/bin/ethereal
>  
> Program received signal SIGSEGV, Segmentation fault.
> 0x80918d3 in dissect_lpd (pd=0x832e680 "", offset=54, fd=0x8386b40,
> tree=0x83121a4) at packet-lpd.c:125
> 125                             if (printer[END_OF_FRAME - 2] == 0x0a) {


Okay, with a bit more analysis I see that the dissector is getting confused
by TCP continuations, thinks that a printer name should follow, and it
doesn't.....

--gilbert