Commit Graph

22 Commits

Author SHA1 Message Date
Jeff Morriss 689e8bd855 From http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1539 :
Hexadecimal and octal are unsigned.  Don't let dissectors register signed
fields (FT_INT*) to be displayed in hexadecimal (including HEX_DEC and DEC_HEX)
or octal.  Fix dissectors that do that mostly by changing the fields to
unsigned though in PANA it appears the fields are meant to be signed so
change those fields to be displayed in decimal.

This fixes an assertion crash in hfinfo_numeric_format() if/when someone tries
to create a filter using one of these mixed signed/unsigned fields (because
that routine does not know how to present the user with a signed value in
hex).

Also add FT_*INT64 to the "make sure it's not BASE_NONE" check.

svn path=/trunk/; revision=24643
2008-03-15 22:41:57 +00:00
Guy Harris 5a43799a17 Use G_GINT64_MODIFIER, rather than the PRI[douxX]64 macros, for GLib
routines and routines using those routines.  GLib might use different
modifiers for 64-bit quantities than the platform's C library does.

svn path=/trunk/; revision=21990
2007-05-29 18:52:42 +00:00
Sebastien Tandel a7615a1afb another attempt to let windows buildbot becoming green
fix rev21398 (gcc warning fix)

svn path=/trunk/; revision=21412
2007-04-13 17:16:24 +00:00
Sebastien Tandel 42791e157b use of volatile for every functions and not only the ones using the Exception
mechanisms. (fix rev21398)

Windows buildbot sould be green again as formal parameters are the same as the
ones in the declaration now.

svn path=/trunk/; revision=21409
2007-04-13 15:23:47 +00:00
Ronnie Sahlberg f6f95ea6a0 remove the revision number from the spc symbols
change all spc2 and spc3 to spc



svn path=/trunk/; revision=20779
2007-02-11 00:45:15 +00:00
Ronnie Sahlberg 9535fb5e42 dont encode a specific revision of the standard in the symbol names
change all symbols from smc2 to smc

svn path=/trunk/; revision=20778
2007-02-11 00:20:37 +00:00
Ronnie Sahlberg f87d187669 add dissection of SSC SETCAPACITY cdb
the SSC dissector should be in fairly good shape now   modulo some missing
dissectors for a few data in/out buffers that someone that needs them can easily add


svn path=/trunk/; revision=20776
2007-02-10 22:01:27 +00:00
Ronnie Sahlberg e7ebd50244 update the REWIND cdb dissector
svn path=/trunk/; revision=20775
2007-02-10 21:53:09 +00:00
Ronnie Sahlberg 7fa46e0aaf add dissection of REPORTDENSITYSUPPORT cdb
svn path=/trunk/; revision=20774
2007-02-10 21:48:12 +00:00
Ronnie Sahlberg 991ec50ba5 add dissection of the RECOVER BUFFERED DATA cdb
svn path=/trunk/; revision=20773
2007-02-10 21:39:40 +00:00
Ronnie Sahlberg 5bb268fa7c add dissection of VERIFY6 cdb
dissect SPACE6/16 code field using a value_string


svn path=/trunk/; revision=20772
2007-02-10 21:26:38 +00:00
Ronnie Sahlberg 8d3413ef55 add dissection of the SSC READREVERSE6 cdb
svn path=/trunk/; revision=20771
2007-02-10 20:55:37 +00:00
Ronnie Sahlberg 62e27d2ce3 change all SSC2 into SSC to indicate this is an SSC dissector and not specific to SSC v2
svn path=/trunk/; revision=20770
2007-02-10 20:38:59 +00:00
Ronnie Sahlberg c6a7dc376a add dissection of the WRITE16 and the WRITEFILEMARKS16 cdbs
svn path=/trunk/; revision=20769
2007-02-10 20:31:01 +00:00
Ronnie Sahlberg 38fef4967b add dissection of SSC VERIFY16 cdb
svn path=/trunk/; revision=20768
2007-02-10 20:23:38 +00:00
Ronnie Sahlberg 2661699e01 add dissection of SSC READREVERSE16 cdb
svn path=/trunk/; revision=20767
2007-02-10 20:13:03 +00:00
Ronnie Sahlberg 5f7321abae add dissewction of the SSC READ16 cdb
svn path=/trunk/; revision=20766
2007-02-10 20:06:01 +00:00
Ronnie Sahlberg 462a5a9358 prettify READ6 and dissect the flags bits properly instead of using a proto_tree_add_text()
svn path=/trunk/; revision=20765
2007-02-10 19:56:41 +00:00
Ronnie Sahlberg 8f3630cfb7 fixup LOCATE10 and LOCATE16
replace a few proto_tree_add_text() with proper dissection of the partition byte


svn path=/trunk/; revision=20729
2007-02-06 21:19:17 +00:00
Ronnie Sahlberg 21f0235936 fixup ERASE16 FORMAT_MEDIUM and LOAD_UNLOAD commands
svn path=/trunk/; revision=20112
2006-12-11 10:15:42 +00:00
Ronnie Sahlberg 303187fad8 break the SCSI SMC commandset out into its own dissector
svn path=/trunk/; revision=19964
2006-11-23 09:21:16 +00:00
Ronnie Sahlberg 651ed76925 break the SCSI SSC commandset out into its own dissector
svn path=/trunk/; revision=19957
2006-11-22 10:12:59 +00:00