Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-socks.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: Fri, 7 Jun 2002 06:27:55 -0500 (CDT)
guy         2002/06/07 06:27:55 CDT

  Modified files:
    .                    packet-socks.c 
  Log:
  Use "tvb_memcpy()" rather than "strncpy()" with a "tvb_get_ptr()"
  argument to copy a counted string, and use "tvb_strsize()" rather tan
  "strlen()" with a "tvb_get_ptr()" argument to get the length of a
  null-terminated string, so that we throw an exception if we go past the
  end of the tvbuff, rather than processing bytes past the end.
  
  Revision  Changes    Path
  1.39      +6 -7      ethereal/packet-socks.c