[sudo-commits] sudo changeset 10857:1123704858ae

Todd C. Miller Todd.Miller at courtesan.com
Fri Feb 24 15:32:55 MST 2017


changeset:	10857:1123704858ae in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/1123704858ae
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Fri Feb 24 15:14:56 2017 -0700

Log Message:
	Set the child pid to -1 after we've waited for it and take care to
	avoid killing pid -1.  This makes it a bit more explicit and removes
	the need for a separate variable to track the child's status.
	Sudo already stops processing signals after it receives SIGCHLD so
	it is not vulnerable to CVE-2017-2616.

diffstat:

 src/exec.c     |  91 +++++++++++++++++++++++++++++----------------------------
 src/exec_pty.c |  32 +++++++++++--------
 2 files changed, 65 insertions(+), 58 deletions(-)


More information about the sudo-commits mailing list