[v9_9] fix SDB bug

3970.   [contrib]       Fixed a use after free bug in the SDB LDAP driver.
                        [RT #37237]
This commit is contained in:
Evan Hunt
2014-10-02 23:24:53 -07:00
parent 3c516868aa
commit f9bfeba0a0
2 changed files with 3 additions and 1 deletions
+3
View File
@@ -1,3 +1,6 @@
3970. [contrib] Fixed a use after free bug in the SDB LDAP driver.
[RT #37237]
3968. [bug] Silence spurious log messages when using 'named -[46]'.
[RT #37308]
-1
View File
@@ -133,7 +133,6 @@ ldapdb_getconn(struct ldapdb_data *data)
free(threaddata->index);
while (threaddata->data != NULL) {
conndata = threaddata->data;
free(conndata->index);
if (conndata->data != NULL)
ldap_unbind((LDAP *)conndata->data);
threaddata->data = conndata->next;