[sudo-commits] sudo changeset 15237:343b22c1fc59

Todd C. Miller Todd.Miller at sudo.ws
Sat Dec 30 10:51:21 MST 2023


changeset:	15237:343b22c1fc59 in /raid/repos/sudo
branch:		1.9
details:	https://www.sudo.ws/repos/sudo/rev/343b22c1fc59
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Thu Dec 28 09:00:49 2023 -0700
files:		plugins/sudoers/cvtsudoers_pwutil.c plugins/sudoers/pwutil_impl.c

Log Message:
	Properly handle sysconf(_SC_LOGIN_NAME_MAX) returning -1 on failure.

	The cast to size_t needs to be outside the MAX() macro or the -1
	will get cast to unsigned.


diffstat:

 plugins/sudoers/cvtsudoers_pwutil.c |  2 +-
 plugins/sudoers/pwutil_impl.c       |  2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)



More information about the sudo-commits mailing list