Wireshark-commits: [Wireshark-commits] rev 36570: /trunk-1.4/ /trunk-1.4/epan/dissectors/: packet-n

Date: Mon, 11 Apr 2011 23:18:31 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=36570

User: gerald
Date: 2011/04/11 04:18 PM

Log:
 Copy over r34115 from the trunk:
 
 ------------------------------------------------------------------------
 r34115 | gerald | 2010-09-14 08:43:19 -0700 (Tue, 14 Sep 2010) | 12 lines
 Changed paths:
    M /trunk/epan/dissectors/packet-nfs.c
 
 From Cal Turney via bug 5209:
 
 Decode of SETCLIENTID calls in the Windows x86 version fail with "[Dissector
 bug, protocol NFS: STATUS_ACCESS_VIOLATION: dissector accessed an invalid
 memory address]".  This error occurs in packet-nfs.c in
 dissect_nfs_clientaddr4() where vars 'protocol' and 'universal_ip_address' get
 stepped on following the call to scanf().  The b1-b10 vars are declared as
 quint8.  While "hh" modifier used in the scanf() is documented in Linux to
 correspond to an a signed/unsigned char arg, I cannot find a similar
 designation in Windows (MSDN). The Windows C compiler interprets %hhu as
 corresponding to a int16 rather than int8.
 ------------------------------------------------------------------------

Directory: /trunk-1.4/epan/dissectors/
  Changes    Path            Action
  +7 -9      packet-nfs.c    Modified

Directory: /trunk-1.4/docbook/
  Changes    Path                 Action
  +8 -8      release-notes.xml    Modified