[sudo-commits] sudo changeset 14999:bfb06721d43f

Todd C. Miller Todd.Miller at sudo.ws
Mon Aug 21 11:20:25 MDT 2023


changeset:	14999:bfb06721d43f in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/bfb06721d43f
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Mon Aug 21 10:47:34 2023 -0600

Log Message:
	Use a global static struct exec_closure for the cleanup hook.

	This is safer than storing a pointer to a stack variable in the
	cleanup function since we don't need to worry about it ever going
	out of scope.  Quiets a clang 15 analyzer warning.

diffstat:

 src/exec_pty.c |  95 +++++++++++++++++++++------------------------------------
 1 files changed, 36 insertions(+), 59 deletions(-)



More information about the sudo-commits mailing list