[sudo-commits] sudo changeset 14509:f75aa1eb5d95

Todd C. Miller Todd.Miller at sudo.ws
Wed Jan 25 11:59:36 MST 2023


changeset:	14509:f75aa1eb5d95 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/f75aa1eb5d95
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Wed Jan 25 11:55:29 2023 -0700

Log Message:
	get_execve_info: defer setting pathname until argbuf is finalized
	If we reallocate the buffer (via growbuf()) in ptrace_read_vec(),
	the address of argbuf may change.  If so, the value stored in
	pathname will no longer be valid.  GitHub issue #194.

diffstat:

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



More information about the sudo-commits mailing list