[sudo-commits] sudo changeset 15229:8917f7d6a464

Todd C. Miller Todd.Miller at sudo.ws
Thu Dec 28 09:00:56 MST 2023


changeset:	15229:8917f7d6a464 in /raid/repos/sudo
tags:		tip
details:	https://www.sudo.ws/repos/sudo/rev/8917f7d6a464
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