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: Thu, 13 Jun 2002 02:36:53 -0500 (CDT)
guy         2002/06/13 02:36:53 CDT

  Modified files:
    .                    packet-scsi.c 
  Log:
  From Peter Hawkins: make the maximum length argument to
  "tvb_get_nstringz0()" no larger than the space in "str" (not counting
  the space for the trailing '\0').
  
  Make "str" big enough to hold a maximum-length serial number string (the
  length is 1 byte, hence the maximum length is 256 bytes plus 1 byte of
  terminating '\0').
  
  Revision  Changes    Path
  1.10      +3 -3      ethereal/packet-scsi.c