Browse Source

Bug 700215 - ldclt core dumps

https://bugzilla.redhat.com/show_bug.cgi?id=700215

Description: A helper function createMissingNodes is supposed to
set LDAP handle 'cnx' if NULL cnx is passed to the function,
but it was missing.  This patch sets it.
Noriko Hosoi 14 years ago
parent
commit
ff7be17669
1 changed files with 1 additions and 0 deletions
  1. 1 0
      ldap/servers/slapd/tools/ldclt/ldapfct.c

+ 1 - 0
ldap/servers/slapd/tools/ldclt/ldapfct.c

@@ -2024,6 +2024,7 @@ createMissingNodes (
     }
     PR_smprintf_free(ldapurl);
     ldapurl = NULL;
+    cnx = tttctx->ldapCtx;
 #else /* !USE_OPENLDAP */
     /*
      * SSL is enabled ?