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

Petr Viktorin pviktori at redhat.com
Mon Feb 27 14:51:42 UTC 2012


On 02/27/2012 03:44 PM, Rob Crittenden wrote:
> 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
>
>
> _______________________________________________
> Freeipa-devel mailing list
> Freeipa-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-devel

Do we also need to do this for invalid UTF-8 sequences?

-- 
Petr³




More information about the Freeipa-devel mailing list