diff options
| author | sin | 2015-02-28 12:00:25 +0000 |
|---|---|---|
| committer | sin | 2015-02-28 12:00:25 +0000 |
| commit | 195fffa420525a53ecd72c6d49c8660630e97359 (patch) | |
| tree | 0a63193a887b194bc47f593a722ace41270308c5 /README | |
| parent | 60a707681655d249af66cec6786a6fad8337b49c (diff) | |
Add getgroups() check
Since getgroups() will never write more than NGROUPS_MAX entries
we might as well cap len to that value.
The following should probably not trap the program:
gid_t set[NGROUPS_MAX];
getgroups(NGROUPS_MAX + 1, set);
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions
