Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-smb-browse.c packet-wsp.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: Mon, 30 Jul 2001 00:20:45 -0500 (CDT)
guy         2001/07/30 00:20:44 CDT

  Modified files:
    .                    packet-smb-browse.c packet-wsp.c 
  Log:
  Use "tvb_strsize()" rather than "tvb_strnlen()" to get the size
  (including the terminating null byte) of a null-terminated string; it
  includes the terminating null in the count, and throws an exception if
  the string goes past the end of the tvbuff, so we don't have to do
  either of those ourselves.
  
  Revision  Changes    Path
  1.14      +8 -80     ethereal/packet-smb-browse.c
  1.31      +22 -89    ethereal/packet-wsp.c