summaryrefslogtreecommitdiff
path: root/include/poll.h
diff options
context:
space:
mode:
authorsin2015-02-28 12:00:25 +0000
committersin2015-02-28 12:00:25 +0000
commit195fffa420525a53ecd72c6d49c8660630e97359 (patch)
tree0a63193a887b194bc47f593a722ace41270308c5 /include/poll.h
parent60a707681655d249af66cec6786a6fad8337b49c (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 'include/poll.h')
0 files changed, 0 insertions, 0 deletions