[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#3808) back-ldap connection freeing may fail

Full_Name: Pierangelo Masarati
Version: HEAD/RE23/RE22
OS: Solaris 8
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

It occurred that avl_delete() in ldap_back_freeconn() returns NULL.  This is a
bit unexpected, because it gets passed a pointer to a struct that should have
been found in the avl tree.  In any case, the return value of avl_delete
shouldn't be used without testing.   A patch is being applied to HEAD, and
further investigation is needed to track where the data is previously removed
from the avl tree, or why and how the avl tree gets corrupted.