Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

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

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: "J. Bruce Fields" <bfields@xxxxxxxxxxxx>
Date: Fri, 2 Feb 2007 21:19:31 -0500

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;

  • Follow-Ups:
    • Re: [Wireshark-dev] [PATCH] fix NFSv4 stateid parsing
      • From: Jaap Keuter
  • Prev by Date: [Wireshark-dev] linker error trying to build wireshark with basic dissector code from Dev-guide
  • Next by Date: Re: [Wireshark-dev] U3 questions/remarks
  • Previous by thread: Re: [Wireshark-dev] linker error trying to build wireshark with basic dissector code from Dev-guide
  • Next by thread: Re: [Wireshark-dev] [PATCH] fix NFSv4 stateid parsing
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation