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

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

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Thu, 24 Aug 2000 00:40:59 -0500 (CDT)
guy         2000/08/24 00:40:55 CDT

  Modified files:
    .                    packet-ldap.c 
  Log:
  Don't assume that you get back from "asn1_octet_string_decode()" a
  pointer to a null-terminated string; you get back a null pointer if the
  octet string is zero-length, and even if it's not zero-length there's no
  guarantee that the string is null-terminated.
  
  Revision  Changes    Path
  1.16      +55 -15    ethereal/packet-ldap.c