Jelajahi Sumber

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 tahun lalu
induk
melakukan
ff7be17669
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  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 ?