Diff for /servers/slapd/root_dse.c between versions 1.117 and 1.118

version 1.117, 2006/08/19 03:47:05 version 1.118, 2006/08/25 18:05:14
Line 1 Line 1
 /* root_dse.c - Provides the Root DSA-Specific Entry */  /* root_dse.c - Provides the Root DSA-Specific Entry */
 /* $OpenLDAP: pkg/ldap/servers/slapd/root_dse.c,v 1.116 2006/05/10 11:03:42 hyc Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/root_dse.c,v 1.117 2006/08/19 03:47:05 kurt Exp $ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.  /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *   *
  * Copyright 1999-2006 The OpenLDAP Foundation.   * Copyright 1999-2006 The OpenLDAP Foundation.
Line 322  fail: Line 322  fail:
                  * clients.                   * clients.
                  */                   */
         for ( i=LDAP_VERSION3; i<=LDAP_VERSION_MAX; i++ ) {          for ( i=LDAP_VERSION3; i<=LDAP_VERSION_MAX; i++ ) {
                 char buf[BUFSIZ];                  char buf[sizeof("255")];
                 snprintf(buf, sizeof buf, "%d", i);                  snprintf(buf, sizeof buf, "%d", i);
                 val.bv_val = buf;                  val.bv_val = buf;
                 val.bv_len = strlen( val.bv_val );                  val.bv_len = strlen( val.bv_val );

Removed from v.1.117  
changed lines
  Added in v.1.118


______________
© Copyright 1998-2020, OpenLDAP Foundation, info@OpenLDAP.org