[sudo-commits] sudo changeset 14837:4d45af829af0

Todd C. Miller Todd.Miller at sudo.ws
Tue Jul 4 08:21:24 MDT 2023


changeset:	14837:4d45af829af0 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/4d45af829af0
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Tue Jul 04 08:21:21 2023 -0600

Log Message:
	sudo_pow2_roundup: fix 64-bit version when shifting 31 or more places

	Shift 1UL instead of 1 to avoid overflowing an int.

diffstat:

 lib/util/roundup.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)



More information about the sudo-commits mailing list