Ethereal-dev: Re: [Ethereal-dev] packet-smb question

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, 11 Nov 2001 14:16:30 -0800
On Sun, Nov 11, 2001 at 04:29:43PM +1100, Ronnie Sahlberg wrote:
> Could that be changed into get_unicode_or_ascii_tvb() itself setting say bc
> to tvb_length_remaining()

"bc" isn't necessarily equal to "tvb_length_remaining()" - or even
"tvb_reported_length_remaining()" ("tvb_length_remaining()" reflects not
only the size of the packet, but also the snapshot length of the
capture).

Consider, for example, a single SMB with multiple command.