Commit Graph

18 Commits

Author SHA1 Message Date
Chris Maynard c0565d8936 Improve dissection of bit-oriented fields. Patch from Richard Sharpe via
bug #5466 with some minor whitespace modifications from me and a fix of an
invalid offset introduced with the patch.  Fuzz testing still needs to be done.
I can't seem to get the fuzz tester to work with the capture files attached to
the bug report. 

svn path=/trunk/; revision=35137
2010-12-06 22:00:08 +00:00
Bill Meier 4a43e13976 Use value_string_ext to access several "relatively large" value-strings.
svn path=/trunk/; revision=34689
2010-10-29 17:48:39 +00:00
Bill Meier 69df32fb11 #include <string.h> not needed.
svn path=/trunk/; revision=32411
2010-04-06 22:09:47 +00:00
Stig Bjørlykke b228488bc0 From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
    for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
    FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero

svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
Bill Meier b52d95d591 #include <emem.h> not req'd
svn path=/trunk/; revision=26091
2008-08-26 01:28:50 +00:00
Bill Meier 77b81b391b #include <prefs.h> not req'd
svn path=/trunk/; revision=26089
2008-08-25 22:06:20 +00:00
Jeff Morriss 10a4936665 Move minimum byte count test from dissect_scsi_smc_element() up into the calling dissect_scsi_smc_elements() so we can break out of the loop if we're not advancing through the packet. This fixes the infinite loop reported in http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2508
svn path=/trunk/; revision=25193
2008-04-29 12:27:32 +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 10cace66eb add dissection of SMC POSITION TO ELEMENT cdb
svn path=/trunk/; revision=20799
2007-02-12 20:26:52 +00:00
Ronnie Sahlberg 327d0a646c add dissection of SMC OPEN/CLOSE IMPORT/EXPORT ELEMENT cdb
svn path=/trunk/; revision=20794
2007-02-12 10:30:10 +00:00
Ronnie Sahlberg e8fccdb0b6 update the SMC MOVEMEDIUM cdb dissector
svn path=/trunk/; revision=20782
2007-02-11 01:59:53 +00:00
Ronnie Sahlberg 8acfc173c4 add dissection of the two SMC cdbs
INITIALIZE ELEMENT STATUS
INITIALIZE ELEMENT STATUS WITH RANGE


svn path=/trunk/; revision=20781
2007-02-11 01:50:16 +00:00
Ronnie Sahlberg e2ddfcecfb add dissection of SMC EXCHANGE MEDIUM cdb
svn path=/trunk/; revision=20780
2007-02-11 01:32:53 +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 ab7f2457a1 add the name for two missing SMC cdbs
svn path=/trunk/; revision=20777
2007-02-11 00:09:46 +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