Ethereal-dev: Re: [Ethereal-dev] Re: [Ethereal-cvs] cvs commit: ethereal packet-dcerpc-samr.c

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Sun, 2 Feb 2003 15:13:43 -0800
On Mon, Feb 03, 2003 at 09:53:14AM +1100, Tim Potter wrote:
> I'm in the process of refactoring all the string handling routines for
> the dcerpc dissectors.  It's a bit of a mess at the moment...

While you're looking at string handling, it might be interesting to see
if, instead of the current (resuscitated) scheme in which a count of
levels up the tree with which to decorate items with a string name is
supplied, a way in which the dissector for the top-level item could
somehow say "decorate me and all the other items below me".

BTW, in some cases you get stuff such as this, in a SAMR LookupDomain
request:

    Domain: XXXXX
        Domain: XXXXX
            Length: 10
            Size: 12
            Domain: XXXXX
                Referent ID: 0x08066d20
                Max Length: 6
                Offset: 0
                Length: 5
                Domain: XXXXX

Is there really one extra level of pointer in there, so that you get the
extra "Domain:" header at the top?