[sudo-commits] sudo changeset 13027:36fe416668df

Todd C. Miller Todd.Miller at sudo.ws
Mon Feb 22 19:55:01 MST 2021


changeset:	13027:36fe416668df in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/36fe416668df
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Mon Feb 22 19:53:08 2021 -0700

Log Message:
	Return NOT_FOUND from the set_cmnd_path() stub since we don't set user_cmnd.
	The purpose of set_cmnd_path() is to reset user_cmnd based on a new
	runchroot.  For the stub version we don't modify user_cmnd and so
	must not return a status of FOUND.
	Fixes oss-fuzz issue #31250 which only affected the fuzzer and not sudo.

diffstat:

 plugins/sudoers/stubs.c       |  3 ++-
 plugins/sudoers/testsudoers.c |  3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)



More information about the sudo-commits mailing list