[sudo-commits] sudo changeset 13726:d1a097783717

Todd C. Miller Todd.Miller at sudo.ws
Wed Jan 12 15:34:50 MST 2022

changeset:	13726:d1a097783717 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/d1a097783717
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Wed Jan 12 15:30:39 2022 -0700

Log Message:
	Use PATH_MAX, not NAME_MAX+1 for the directory entry length.
	On some systems, such as Solaris, the max length of a directory
	entry is filesystem-dependent.  We could use fpathconf() and
	dynamically allocate the name but it is simpler to just use
	PATH_MAX here.


 lib/util/mkdir_parents.c |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

More information about the sudo-commits mailing list