[sudo-commits] sudo changeset 9566:84ff8e1f490a
Todd C. Miller
Todd.Miller at courtesan.com
Sat Jul 26 06:06:32 MDT 2014
changeset: 9566:84ff8e1f490a in /home/hg/sudo
details: http://www.sudo.ws/repos/sudo/rev/84ff8e1f490a
user: Todd C. Miller <Todd.Miller at courtesan.com>
date: Sat Jul 26 06:06:18 2014 -0600
Log Message:
Don't memcpy() the preserved_fds TAILQ as the pointers into the
head will be wrong. All we need to do is save the old command
details and restore them after calling run_command(). Fixes a hang
with sudoedit when debugging is enabled.
diffstat:
src/sudo_edit.c | 31 ++++++++++++++++++++-----------
1 files changed, 20 insertions(+), 11 deletions(-)
More information about the sudo-commits
mailing list