To everyone,
I will look into this bug very shortly and fix a patch very shortly.
I am not ignoring you guys, I just have been busy with on driveabout.
Sorry this bug had to pop up while I was away and could not respond
faster.
----- Original Message -----
From: "Gilbert Ramirez"
To: "Jean-Baptiste Marchand"
Sent: Monday, February 25, 2002 8:00 AM
Subject: Re: [Ethereal-dev] [Bug report] SAMR dissector ?
> On Sun, 2002-02-24 at 14:59, Jean-Baptiste Marchand wrote:
> > Hi,
> >
> > I've encountered a problem in current version of ethereal when
> > dissecting SAMR messages.
> >
> > I've attached the trace that produced the following error message :
> >
> > ** ERROR **: file proto.c: line 1116 (proto_tree_add_string): assertion
> > failed: (hfinfo->type == FT_STRING)
> >
> > When selecting frame 35 (a reply to a ENUM_DOM_ALIASES) in ethereal, the
> > program terminates on a failed assertion, with the error message above.
>
> I did some analysis of this, but don't know enough
> about the dcerpc-samr dissector to fix it.
>
> dissect_ndr_nt_UNICODE() in packet-dcerpc-samr.c, line 302, is
> calling proto_tree_add_string_format() on a field it gets
> from a dcerpc_info struct, di->hf_index. In this case,
> di->hf_index is pointing to an "Alias" feld, or hf_samr_alias,
> which is of type FT_UINT32, not a string.
>
> Thanks for the bug report, and for the capture file that
> reproduces the bug. Someone will come along shortly and fix it,
> I'm sure.
>
> --gilbert
>
>
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev