Wireshark-dev: Re: [Wireshark-dev] [PATCH] fix NFSv4 stateid parsing

From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Sat, 3 Feb 2007 21:32:11 +0100 (CET)
Hi,

Checked in.

Thanx,
Jaap


On Fri, 2 Feb 2007, J. Bruce Fields wrote:

> Fix an obvious error in the nfs4 stateid parsing.  The stateid is used
> in a number of common operations (such as open and setattr), so this caused
> a lot of misparsing.
>
> Signed-off-by: "J. Bruce Fields" <bfields@xxxxxxxxxxxxxx>
>
> diff --git a/epan/dissectors/packet-nfs.c b/epan/dissectors/packet-nfs.c
> index eff0d23..ae4c0ab 100644
> --- a/epan/dissectors/packet-nfs.c
> +++ b/epan/dissectors/packet-nfs.c
> @@ -6922,7 +6922,6 @@ dissect_nfs_stateid4(tvbuff_t *tvb, int offset,
>  	}
>
>  	offset = dissect_rpc_uint32(tvb, newftree, hf_nfs_seqid4, offset);
> -	offset+=4;
>
>  	proto_tree_add_item(newftree, hf_nfs_stateid4_other, tvb, offset, 12, FALSE);
>  	offset+=12;
> _______________________________________________
> Wireshark-dev mailing list
> Wireshark-dev@xxxxxxxxxxxxx
> http://www.wireshark.org/mailman/listinfo/wireshark-dev
>
>