aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcturney <cturney@charter.net>2015-06-02 23:06:58 -0400
committerAnders Broman <a.broman58@gmail.com>2015-06-08 07:30:54 +0000
commitda1766e9871ba1eb4156ebd05c819eee9d91c10f (patch)
tree5bc8c31a10969390eb9d484a408c4e520364e832
parent5ce025c1243ca06ced0b31052e2ae57ea37a5953 (diff)
NFSv4: Fix for Bug 10483
Bug: 10483 Change-Id: Ic0df7d92c6ec2da83ad02796a008f6512d7fdc9b Reviewed-on: https://code.wireshark.org/review/8731 Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r--epan/dissectors/packet-nfs.c2
1 files changed, 2 insertions, 0 deletions
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