Dear all,

Seems i'm experiencing a bug of py-ldap (version 3.2.0) with both Python-2.7
and 3.7 which is caught on OpenBSD 6.6 (amd64), any help is appreciated.

Steps to reproduce:

- Setup a working LDAP server, make sure connection/query from other 
applications or ldap command line tools works fine.
- Run below Python code with correct bind dn and password, error raised while 
running `bind_s()`:

--------------
import ldap

uri = 'ldap://127.0.0.1:389'
dn = 'cn=vmail,dc=a,dc=io'
pw = 'f70c8f378fa49c3684b84637d790da37'

conn = ldap.ldapobject.ReconnectLDAPObject(uri)
conn.bind_s(dn, pw)
--------------

The error message is:

-----------------------
python2(92014) in free(): bogus pointer (double free?) 0xffffffffffffffff
Abort trap (core dumped) 
-----------------------

I'm not sure whether it's a py-ldap bug of OpenLDAP client library bug.
Can anyone help investigate this issue? Thank you very much. :)

Reply via email to