Ethereal-dev: Re: [Ethereal-dev] Bug report: crash in packet-dcerpc-ndr.c

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

From: ronnie sahlberg <ronniesahlberg@xxxxxxxxx>
Date: Mon, 6 Sep 2004 06:43:26 +1000
I belive there should always be a pinfo->private data for dcerpc protocols.

One could encapsulate this inside 
    if(pinfo->private_data)
but it would be better to try to see exactly why pinfo->private_data is NULL.


Can you provide an example capture of this packet creating the crash?



On Sun, 05 Sep 2004 22:39:40 +0200, Ulf Lamping  wrote:
> Yaniv Kaul wrote:
> 
> > Latest Ethereal from svn, Win2K, during capture:
> >
> > The crash happens in packet-dcerpc-ndr.c, where the arrow is (line 91):
> > {
> >    dcerpc_info *di;
> >
> >    di=pinfo->private_data;
> > --->    if(di->conformant_run){
> >      /* just a run to handle conformant arrays, no scalars to dissect */
> >      return offset;
> >    }
> >
> >
> I've recently checked in a patch from Eric Wedel to start implement a
> "decode as" functionality for DCE-RPC interfaces.
> 
> As some .h files changed, did you do a rebuild all?
> 
> Regards, ULFL
> 
> 
> 
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev
>