[sudo-commits] sudo changeset 12323:ff1fa8e3377f

Todd C. Miller Todd.Miller at sudo.ws
Thu Apr 2 13:12:24 MDT 2020


changeset:	12323:ff1fa8e3377f in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/ff1fa8e3377f
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Thu Apr 02 13:01:58 2020 -0600

Log Message:
	Truncate the command args at 4096 chars when formatting SUDO_COMMAND.
	We have to limit the length of SUDO_COMMAND to avoid getting E2BIG
	from execve(2) for very long argument vectors.
	The command's environment also counts against the ARG_MAX limit.
	Debian bug #596631

diffstat:

 doc/sudo.man.in       |  6 ++++--
 doc/sudo.mdoc.in      |  6 ++++--
 plugins/sudoers/env.c |  7 ++++++-
 3 files changed, 14 insertions(+), 5 deletions(-)


More information about the sudo-commits mailing list