[sudo-commits] sudo changeset 13279:25a3ee849fd4
Todd C. Miller
Todd.Miller at sudo.ws
Mon Jun 7 14:20:38 MDT 2021
changeset: 13279:25a3ee849fd4 in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/25a3ee849fd4
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Mon Jun 07 13:08:10 2021 -0600
Log Message:
Make sure we don't read or write past the end of the group buffer.
We need to leave room for the terminating NULL in gr_mem.
It is possible for gbm->numgids > gbm->maxgids if we ran out of room.
diffstat:
lib/util/getgrouplist.c | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
More information about the sudo-commits
mailing list