[sudo-commits] sudo changeset 10325:fc39d5804f1f

Todd C. Miller Todd.Miller at courtesan.com
Wed Jan 20 15:36:22 MST 2016

changeset:	10325:fc39d5804f1f in /media/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/fc39d5804f1f
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Wed Jan 20 15:36:20 2016 -0700

Log Message:
	If the user runs "sudoedit /" we will receive ENOENT from openat(2)
	and sudoedit will try to create a file with the null string.  If
	path is empty, open the cwd instead so sudoedit can give a sensible
	error message.


 src/sudo_edit.c |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

More information about the sudo-commits mailing list