From 78d35de935e5df74b4dfc190c2e337ab05e8c00e Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Thu, 25 Oct 2018 07:17:31 -0600 Subject: [PATCH] Remove an errant grset++ in the AIX version of sudo_getgrouplist2(). Bug #857 --- lib/util/getgrouplist.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/util/getgrouplist.c b/lib/util/getgrouplist.c index e14086abc..ecc82e506 100644 --- a/lib/util/getgrouplist.c +++ b/lib/util/getgrouplist.c @@ -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++; -- 2.40.0