[sudo-commits] sudo changeset 15001:39b9d54ae277

Todd C. Miller Todd.Miller at sudo.ws
Mon Aug 21 13:22:48 MDT 2023


changeset:	15001:39b9d54ae277 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/39b9d54ae277
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Mon Aug 21 12:50:31 2023 -0600

Log Message:
	Cast int to size_t before adding instead of casting the result.

	Quiets PVS-Studio warning V1028.

diffstat:

 plugins/sample/sample_plugin.c |  3 ++-
 plugins/sudoers/editor.c       |  2 +-
 plugins/sudoers/group_plugin.c |  2 +-
 plugins/sudoers/policy.c       |  2 +-
 plugins/sudoers/sudoreplay.c   |  4 ++--
 src/exec_ptrace.c              |  4 ++--
 6 files changed, 9 insertions(+), 8 deletions(-)



More information about the sudo-commits mailing list