[sudo-commits] sudo changeset 14156:953f92c9e7a5

Todd C. Miller Todd.Miller at sudo.ws
Thu Aug 18 19:16:28 MDT 2022


changeset:	14156:953f92c9e7a5 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/953f92c9e7a5
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Thu Aug 18 15:12:21 2022 -0600

Log Message:
	Handle the case where argc is 0 when allocating space for argv.
	We need to pass the pathname to the policy plugin in argv[0] so we
	must be sure to allocate space for it even if argc is 0.

diffstat:

 src/exec_ptrace.c |  22 +++++++++++++++++-----
 1 files changed, 17 insertions(+), 5 deletions(-)



More information about the sudo-commits mailing list