mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 10:32:13 -04:00
[master] fix SDB bug
3970. [contrib] Fixed a use after free bug in the SDB LDAP driver.
[RT #37237]
This commit is contained in:
parent
12002ea49e
commit
1c182f1516
2 changed files with 3 additions and 1 deletions
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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue