[sudo-commits] sudo changeset 13983:dc0187c68c1b
Todd C. Miller
Todd.Miller at sudo.ws
Thu May 26 16:35:26 MDT 2022
changeset: 13983:dc0187c68c1b in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/dc0187c68c1b
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Thu May 26 16:33:46 2022 -0600
Log Message:
Pass envp, not environ, to real execve() from exec_wrapper() if possible.
The replacement execve() function was passing the global environ
to exec_wrapper() instead of the envp parameter. This caused the
command to be run with the wrong environment on AIX systems, and
possibly others, when intercept or log_subcmds was enabled.
Bug #1030.
diffstat:
src/sudo_intercept.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
More information about the sudo-commits
mailing list