[sudo-commits] sudo changeset 12258:a3a202e89951
Todd C. Miller
Todd.Miller at sudo.ws
Tue Feb 25 11:16:20 MST 2020
changeset: 12258:a3a202e89951 in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/a3a202e89951
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Mon Feb 24 19:59:44 2020 -0700
Log Message:
Avoid calling sudoers_policy_exec_setup() on error.
We only want to pass the execution environment back for commands
that are accepted or rejected.
Also avoid potentially freeing the wrong pointer when garbage
collection is enabled.
diffstat:
plugins/sudoers/policy.c | 1 -
plugins/sudoers/sudoers.c | 19 +++++++++++++------
2 files changed, 13 insertions(+), 7 deletions(-)
More information about the sudo-commits
mailing list