mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 01:49:11 +00:00
Remove an errant grset++ in the AIX version of sudo_getgrouplist2().
Bug #857
This commit is contained in:
parent
cb588f2337
commit
78d35de935
@ -142,7 +142,6 @@ sudo_getgrouplist2_v1(const char *name, GETGROUPS_T basegid,
|
||||
/* Dynamically-sized group vector, count groups and alloc. */
|
||||
grpsize = 1; /* reserve one for basegid */
|
||||
if (*grset != '\0') {
|
||||
grset++;
|
||||
for (cp = grset; *cp != '\0'; cp++) {
|
||||
if (*cp == ',')
|
||||
grpsize++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user