[master] fix SDB bug
3970. [contrib] Fixed a use after free bug in the SDB LDAP driver.
[RT #37237]
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -1,3 +1,6 @@
|
||||
3970. [contrib] Fixed a use after free bug in the SDB LDAP driver.
|
||||
[RT #37237]
|
||||
|
||||
3969. [test] Added 'delv' system test. [RT #36901]
|
||||
|
||||
3968. [bug] Silence spurious log messages when using 'named -[46]'.
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user