[SSSD] [PATCH] LDAP: group_split_members returns incorrectly ENOMEM

Lukas Slebodnik lslebodn at redhat.com
Fri Jun 27 08:52:42 UTC 2014


On (27/06/14 10:41), Jakub Hrozek wrote:
>On Thu, Jun 26, 2014 at 07:37:33PM +0200, Pavel Reichl wrote:
>> Hello,
>> 
>> please see attached patch.
>> 
>> Thanks,
>> PR
>
>Would it be more readable if the condition said "num_missing > 0" ?
or do not call talloc_realloc if num_missing == 0

talloc_realloc is used here for shrinking array allocated before for cycle
with talloc_zero_array.

LS



More information about the sssd-devel mailing list