[Freeipa-devel] [PATCH] 971 detect binary LDAP data

Rob Crittenden rcritten at redhat.com
Mon Feb 27 14:44:46 UTC 2012


We are pretty trusting that the data coming out of LDAP matches its 
schema but it is possible to stuff non-printable characters into most 
attributes.

I've added a sanity checker to keep a value as a python str type 
(treated as binary internally). This will result in a base64 encoded 
blob be returned to the client.

rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-rcrit-971-binary.patch
Type: text/x-diff
Size: 1794 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120227/360861d2/attachment.bin>


More information about the Freeipa-devel mailing list