From da1766e9871ba1eb4156ebd05c819eee9d91c10f Mon Sep 17 00:00:00 2001 From: cturney Date: Tue, 2 Jun 2015 23:06:58 -0400 Subject: [PATCH] NFSv4: Fix for Bug 10483 Bug: 10483 Change-Id: Ic0df7d92c6ec2da83ad02796a008f6512d7fdc9b Reviewed-on: https://code.wireshark.org/review/8731 Reviewed-by: Anders Broman --- epan/dissectors/packet-nfs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/epan/dissectors/packet-nfs.c b/epan/dissectors/packet-nfs.c index 4493cedcb6..e5f8719d1e 100644 --- a/epan/dissectors/packet-nfs.c +++ b/epan/dissectors/packet-nfs.c @@ -6667,6 +6667,8 @@ dissect_nfs4_fattrs(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *t * attr_bitmap fields and the 4-byte 'total bytes in the values section field'; * otherwise, just skip the bitmaps and offset will be returned. */ offset += (num_bitmaps * 4) + (type == FATTR4_DISSECT_VALUES ? 4 : 0); + } else { + return offset += 4; } if (!tree