[Date Prev][Date Next]
ldap_sasl_interactive_bind_s leaks? (ITS#2423)
Full_Name: Igor Brezac
OS: Solaris 9
Submission from: (NULL) (220.127.116.11)
My testing shows a leak in ldap_sasl_interactive_bind_s(). I tried to chase the
leak with fnccheck, but after compiling both openldap and my testing program for
profiling, fncdump dumps itself. Anyway, ldap_sasl_interactive_bind_s() frees
SASL_INTERACT prompt result, but I do not think it frees other prompt buffers.
I looked throught sources for ldapsearch and slurpd, but I did not find ways to
free the buffers allocated in _ldap_interact.
Somewhat related issue I have is that the following pseudo code does not work.
The ldap connection needs to be reset after each ldap_sasl_interactive_bind_s.
I am not sure if this behaviour is by design, but I was hoping that it'll work
just like it does with simple bind.
get auth input