Update.
* grp/initgroups.c (initgroups): Deallocate groups array. Reported by jani.raiha@sonera.com [PR libc/1868].
This commit is contained in:
parent
80bae720f5
commit
84364bf861
@ -1,5 +1,8 @@
|
||||
2000-08-24 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* grp/initgroups.c (initgroups): Deallocate groups array.
|
||||
Reported by jani.raiha@sonera.com [PR libc/1868].
|
||||
|
||||
* sysdeps/s390/Dist: Add fpu/fenv_libc.h.
|
||||
* sysdeps/alpha/Dist: Likewise.
|
||||
|
||||
|
@ -225,6 +225,8 @@ initgroups (user, group)
|
||||
result = setgroups (start, groups);
|
||||
while (result == -1 && errno == EINVAL && --start > 0);
|
||||
|
||||
free (groups);
|
||||
|
||||
return result;
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user