[sudo-commits] sudo changeset 13687:75c23aaa9fca

Todd C. Miller Todd.Miller at sudo.ws
Sat Dec 11 16:28:59 MST 2021


changeset:	13687:75c23aaa9fca in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/75c23aaa9fca
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Sat Dec 11 16:27:33 2021 -0700

Log Message:
	sudo_mkdir_parents: make sure the path we created is a directory
	For extra paranoia, verify that the directory we created is still
	a directory before we fchown() it.

diffstat:

 lib/util/mkdir_parents.c |  53 ++++++++++++++++++++++++++++++++++-------------
 1 files changed, 38 insertions(+), 15 deletions(-)



More information about the sudo-commits mailing list