[sudo-commits] sudo changeset 14155:cf30608ed6cb

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


changeset:	14155:cf30608ed6cb in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/cf30608ed6cb
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Thu Aug 18 15:10:42 2022 -0600

Log Message:
	copy_vector: treat a NULL pointer as an empty vector.
	Linux execve(2) allows argv to be NULL so we must allocate an empty
	vector in this case and not return an error.

diffstat:

 src/sudo_intercept.c |  10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)



More information about the sudo-commits mailing list