l_ldap_str2dn has the following statement:
if (!PyArg_ParseTuple( args, "z#|i:str2dn",
&str.bv_val, &str.bv_len, &flags ))
PyArg_ParseTuple expects an int pointer as third (length) parameter.
However, str.bv_len is defined as ber_len_t, which is unsigned long.
On a x86_64 linux system, this typically causes a ENCODING error, which may be
I am appending a suggested patch.
Log in to post a comment.