On (09/11/15 22:24), Jakub Hrozek wrote:
Hi,
please review!
From 42572bf05b14c959a938574059694dc04c87e7a1 Mon Sep 17 00:00:00
2001
From: Jakub Hrozek <jhrozek(a)redhat.com>
Date: Mon, 9 Nov 2015 22:12:05 +0100
Subject: [PATCH] IFP: Skip non-POSIX groups properly
When ifp_users_user_get_groups is called, for example via GetAll and
the list of groups contains a non-POSIX group, we skip an array member,
resulting in random memory being passed to the caller.
Resolves:
https://fedorahosted.org/sssd/ticket/2863 I do not plan to review the patch.
But please file a ticket to write an integration test for this bug.
BTW this is exactly a reason why I prefered to focus on preparing
tests/test cases for IFP provider.
LS