[SSSD] [PATCH] nested groups patches

Pavel Brezina pbrezina at redhat.com
Mon Jun 17 15:18:03 UTC 2013


Hi,
community member John Hodrien reported two serious issues in nested groups, one of which was created by my previous patch. Both involves dereference.

1) See commit message. This one was introduced in my previous patch.

2) When dereferenced member attribute contains group that is present and valid in the cache, we corrupt the heap by writing behind allocated memory. I believe this is the original source of the bug reported in [1].

John confirmed that the issue is gone. Thank you.

[1] https://fedorahosted.org/sssd/ticket/1894
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-nested-groups-do-not-return-ENOMEM-if-num_groups-is-.patch
Type: text/x-patch
Size: 1694 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20130617/be25b4f7/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-nested-groups-do-not-expect-any-particular-number-of.patch
Type: text/x-patch
Size: 3796 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20130617/be25b4f7/attachment-0001.bin>


More information about the sssd-devel mailing list