[sudo-commits] sudo changeset 13352:fdf9a2e07eb1
Todd C. Miller
Todd.Miller at sudo.ws
Mon Aug 9 16:09:50 MDT 2021
changeset: 13352:fdf9a2e07eb1 in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/fdf9a2e07eb1
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Mon Aug 09 15:50:25 2021 -0600
Log Message:
Allow set_perms(PERM_INITIAL) to be called more than once.
If the perm stack depth is non-zero when set_perms(PERM_INITIAL)
is called, rewind it first and re-initialize the stack depth to 0.
Fixes a user-after-free bug if set_perms(PERM_INITIAL) is called
multiple times.
diffstat:
plugins/sudoers/set_perms.c | 42 +++++++++++++++++++++++++++++++-----------
1 files changed, 31 insertions(+), 11 deletions(-)
More information about the sudo-commits
mailing list