[python-ldap] [PATCH] fix corrupted search attributes

Elmir Jagudin elmir at unity3d.com
Mon Jan 18 04:17:10 EST 2016

On Sun, Jan 17, 2016 at 9:12 PM, Michael Ströder <michael at stroeder.com>

> Elmir Jagudin wrote:
> > Here is a patch that fixes issue with corrupted search attributes while
> > using LDAPObject.search_s().
> There's a problem with your patch:
> It does not handle attrlist=None correctly.

Yepp, I missed that use case. Here comes second version of the patch, where
this problem is fixed.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20160118/0b81f055/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-corrupt-search-attrs-2.patch
Type: text/x-patch
Size: 3818 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20160118/0b81f055/attachment.bin>

More information about the python-ldap mailing list