On Wed, 2012-01-04 at 22:12 +0100, Jakub Hrozek wrote:
>
https://fedorahosted.org/sssd/ticket/1130
>
> Some places if HBAC would create a "{ NULL }" array when there are no
> groups, some would just use a NULL pointer.
>
> I think using the array is a safer solution because the loops we use
> usually just go through safely. Shanks found one such issue today where
> we would use a NULL pointer for the groups pointer in the srchost
> element and SSSD would crash.
>
> The attached patch standartizes on using the single element arrays.
Ack.