[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: python-ldap for python2.0



Thanks Wichert,

just a quick addendum regarding my libopenldap1-dev question: I got this
additional information from one of the python-ldap developers (indeed, they
still exist !;-).

Are we sure that the other applications in sid are safe against these
problems ?


    Gregor
    

On Mon, Jun 25, 2001 at 12:36:19PM +0200, Michael Ströder wrote:
> -------- Original Message --------
> Subject: Re: Thanx for helping me...
> Date: Mon, 25 Jun 2001 12:19:04 +0200
> From: Stig Venaas <Stig.Venaas@uninett.no>
> To: Michael Ströder <michael@stroeder.com>
> 
> [..]
> One more thing. I've realized after looking more at the new
> LDAP API (the one in OpenLDAP 2.x.x) that code using the old
> API will compile and work just fine with the new API except
> for one important thing. There will be memory leaks! So
> people should be warned a bit against just using old applications
> with OpenLDAP 2.x.x libs perhaps. The reason is changes in the
> memory allocation. When using ldap_first_attribute and next
> attribute, the attribute string must be freed, and one must also
> free the ber structure used by those. Same holds for get_dn or
> whatever it's called. I've just been fixing this in PHP.
> 
> Stig



Reply to: