[SSSD] [PATCHES] LDAP: Sanitize group dn before using in filter

Lukas Slebodnik lslebodn at redhat.com
Fri Sep 18 09:40:20 UTC 2015


On (01/09/15 11:06), Lukas Slebodnik wrote:
>ehlo,
>
>attached is alternative version for ticket 2744.
>The unit test passed but there is a performance improvement.
>
>If we compare 3rd patch to current master than
>there is a 10 less invocation of malloc (an also other functions) per group.
>and we saved allocation of 1091 per group.
>
>There was a comment[1] in old thread about a possibility of double sanitized dn.
>I was not able to find such case. I would be glad if someone
>can extend unit test which will pass with master and fail with attached patch.
>
>LS
>
>[1] https://lists.fedorahosted.org/pipermail/sssd-devel/2015-August/024346.html

Bump.

LS


More information about the sssd-devel mailing list