mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Update.
* grp/initgroups.c (initgroups): Deallocate groups array. Reported by jani.raiha@sonera.com [PR libc/1868].
This commit is contained in:
@ -225,6 +225,8 @@ initgroups (user, group)
|
||||
result = setgroups (start, groups);
|
||||
while (result == -1 && errno == EINVAL && --start > 0);
|
||||
|
||||
free (groups);
|
||||
|
||||
return result;
|
||||
#endif
|
||||
}
|
||||
|
Reference in New Issue
Block a user