[sudo-cvs] CVS commit: sudo

Todd C. Miller Todd.Miller at courtesan.com
Fri Nov 11 17:23:08 EST 2005

Module Name:	sudo
Committed By:	millert
Date:		Fri Nov 11 22:23:08 UTC 2005

Modified Files:
	sudo: sudo.c sudo_edit.c

Log Message:
Move sudo_end{gr,pw}ent() until just before the exec since they
free up our cached copy of the passwd structs, including sudo_user
and sudo_runas.  Fixes a use-after-free bug.

To generate a diff of this commit:
cvs rdiff -r1.419 -r1.420 sudo/sudo.c
cvs rdiff -r1.27 -r1.28 sudo/sudo_edit.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

More information about the sudo-commits mailing list