NetBSD/usr.bin/id
drochner 9b39088e5c id(1) didn't check the return value of getgrouplist(3) and used memory
outside the group array in the case that a user is member of more than
_SC_NGROUPS_MAX groups.
(This is probably also the problem behind PR bin/31069 by Zafer Aydogan.)
So check the return value and retry with sufficiently allocated memory
in case the initial _SC_NGROUPS_MAX groups are not enough.
2005-08-30 16:47:47 +00:00
..
Makefile WARNS=3 clean. 2004-11-22 17:32:08 +00:00
groups.1
id.1
id.c id(1) didn't check the return value of getgrouplist(3) and used memory 2005-08-30 16:47:47 +00:00
whoami.1