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

Michael Ströder michael at stroeder.com
Mon Jan 18 08:55:22 EST 2016


Elmir Jagudin wrote:
> On Sun, Jan 17, 2016 at 9:12 PM, Michael Ströder <michael at stroeder.com>
> wrote:
> 
>> 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.

Committed to CVS:
http://python-ldap.cvs.sourceforge.net/viewvc/python-ldap/python-ldap/Modules/LDAPObject.c?r1=1.92&r2=1.93

I'd like to release 2.4.24 with this regression fix today.
So please test.

Ciao, Michael.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4245 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20160118/42dd55ee/attachment.bin>


More information about the python-ldap mailing list