[sudo-commits] sudo changeset 9050:54f48a281147

Todd C. Miller Todd.Miller at courtesan.com
Tue Oct 22 15:54:46 MDT 2013

changeset:	9050:54f48a281147 in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/54f48a281147
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Tue Oct 22 15:54:41 2013 -0600

Log Message:
	Avoid a double free introduced when plugging a memory leak in
	safe_close().  A new ev_free_by_fd() function is used to remove and
	free any events sharing the specified fd.  This can be used after
	safe_close() to make sure we don't try to select() on a closed fd.


 src/exec_pty.c |  79 ++++++++++++++++++++++++++++++---------------------------
 1 files changed, 42 insertions(+), 37 deletions(-)

More information about the sudo-commits mailing list