Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-scsi.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 5 Mar 2003 14:26:00 -0600 (CST)
guy         2003/03/05 14:26:00 CST

  Modified files:
    .                    packet-scsi.c 
  Log:
  Make various variables containing unsigned quantities unsigned.
  
  Check whether a device identifier in a vital product data page (not a
  vital data product page, although I guess most SCSI devices could be
  considered data products) is bigger than the page before displaying it.
  
  Don't bother to check whether the full identifier is in the packet - if
  it's not, an exception will be thrown and an error indication put into
  the protocol tree, which is the correct thing to do.  Do, however, check
  whether the identifier length is 0 before putting a protocol tree entry
  in.
  
  Revision  Changes    Path
  1.25      +11 -5     ethereal/packet-scsi.c