[sudo-commits] sudo changeset 14071:dc7c547f518f

Todd C. Miller Todd.Miller at sudo.ws
Tue Jun 21 20:16:07 MDT 2022


changeset:	14071:dc7c547f518f in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/dc7c547f518f
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Tue Jun 21 20:12:58 2022 -0600

Log Message:
	readlink(2) does NUL-terminate the buffer, do it manually.
	Fixes a bug where the current working directory could include garbage
	in intercept mode using ptrace(2).

diffstat:

 src/exec_ptrace.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)



More information about the sudo-commits mailing list