[sudo-commits] sudo changeset 14592:2c1477233f48
Todd C. Miller
Todd.Miller at sudo.ws
Mon Feb 27 07:46:16 MST 2023
changeset: 14592:2c1477233f48 in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/2c1477233f48
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Tue Feb 21 20:01:13 2023 -0700
Log Message:
Fix potential double free for rules that include a CHROOT= option.
If a rule with a CHROOT= option matches the user, host and runas,
the user_cmnd variable could be freed twice.
diffstat:
MANIFEST | 2 ++
plugins/sudoers/match_command.c | 6 +++++-
plugins/sudoers/regress/fuzz/fuzz_sudoers.c | 17 +++++++++++++----
plugins/sudoers/regress/testsudoers/test20.out.ok | 15 +++++++++++++++
plugins/sudoers/regress/testsudoers/test20.sh | 18 ++++++++++++++++++
plugins/sudoers/testsudoers.c | 20 +++++++++++++++-----
plugins/sudoers/visudo.c | 4 +++-
7 files changed, 71 insertions(+), 11 deletions(-)
More information about the sudo-commits
mailing list