浏览代码

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 年之前
父节点
当前提交
ff7be17669
共有 1 个文件被更改,包括 1 次插入0 次删除
  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 ?