Ethereal-dev: Re: [ethereal-dev] SIGSEGV in strlen() -> packet-smb.c:9023

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

From: Richard Sharpe <sharpe@xxxxxxxxxx>
Date: Thu, 25 Nov 1999 11:52:30 +1000
Hi,

At 01:51 PM 11/25/99 +0100, Florian Lohoff <flo@xxxxxxxxxx> wrote:
>
>I have already seen a SIG 11 posting in strchr which seems
>to be the same cause ...

Hmmm, I think we fixed the strchr problem.

>Program received signal SIGSEGV, Segmentation fault.
>0x402c072f in strlen ()
>(gdb) bt
>#0  0x402c072f in strlen ()
>#1  0x80cd058 in dissect_transact_params (pd=0x81dd380 "", offset=114, 
>    fd=0x81fbe38, parent=0x0, tree=0x0, si={tid = 2048, uid = 2048, 
>      mid = 9857, pid = 0, conversation = 0x82c4da8, request_val =
0x82d3d18}, 
>    max_data=408, SMB_offset=58, errcode=0, dirn=0, DataOffset=64, 
>    DataCount=344, ParameterOffset=56, ParameterCount=8, TransactName=0x0)
>    at packet-smb.c:9023

OK. Looks like there was some \PIPE or \MAILSLOT transaction or some other,
and I am expecting the TransactName is null. 

Do you have the dump accessible?

I will have to post my tool that allows you to edit a trace file, so we can
send just the frame that causes the problem.



Regards
-------
Richard Sharpe, sharpe@xxxxxxxxxx, Master Linux Administrator :-),
Samba (Team member, www.samba.org), Ethereal (Team member, www.zing.org)
Co-author, SAMS Teach Yourself Samba in 24 Hours
Author: First Australian 5-day, intensive, hands-on Linux SysAdmin course