Ethereal-dev: Re: [Ethereal-dev] SMB NetServerEnum2 RAP response incorrect bytes

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: Sat, 24 Jul 2004 03:00:48 -0700
On Tue, Jul 13, 2004 at 10:37:34AM -0700, Aaron Carlson wrote:
> Sorry I should have been more explicit.  The problem isn't that it 
> highlights the pointer to the string.  The problem is it highlights the 
> pointer to the string of a *different field*.  The field I clicked on isn't 
> even a pointer.  When you click on 'Server Type' field (NOT on the 'Server 
> Comment' field), it highlights the *comment* field's pointer.

OK, I've checked in a fix (the same problem exists in the SRVSVC
dissector).

> The comment 
> field correctly highlights the actual comment (not the pointer) so that may 
> have something to do with why the 'Server Type' field (the field 
> immediately preceding the comment pointer) is incorrectly highlighted.

Nope - it was purely a bug in the code to dissect server type fields; no
matter what follows a server type field (if anything), the 4 bytes right
after the field would be highlighted.