[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sudo-commits
Subject:    [sudo-commits] sudo changeset 14509:f75aa1eb5d95
From:       "Todd C. Miller via sudo-commits" <sudo-commits () sudo ! ws>
Date:       2023-01-25 18:59:36
Message-ID: hg.f75aa1eb5d95.1674673176.3631610868280944385 () xerxes ! sudo ! ws
[Download RAW message or body]

changeset:	14509:f75aa1eb5d95 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/f75aa1eb5d95
user:		Todd C. Miller <Todd.Miller@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(-)

____________________________________________________________
sudo-commits mailing list <sudo-commits@sudo.ws>
For list information, options, or to unsubscribe, visit:
https://www.sudo.ws/mailman/listinfo/sudo-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic