[Repository Listing] / [Wireshark]
 
Wireshark development

Revision 34115


Jump to revision: Previous Next
Author: gerald
Date: Tue Sep 14 15:43:19 2010 UTC (2 years, 9 months ago)
Log Message:
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.


Changed paths

Path Action
trunk/epan/dissectors/packet-nfs.c trunk/epan/dissectors/packet-nfs.c modified Revision Log
Diff to Previous

webmaster [at] wireshark.org
Tango Icons © Tango Desktop Project. Subversion  TortoiseSVN  ViewVC