[sudo-commits] sudo changeset 13932:e0d7fdc3f8e2

Todd C. Miller Todd.Miller at sudo.ws
Fri May 6 10:53:11 MDT 2022

changeset:	13932:e0d7fdc3f8e2 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/e0d7fdc3f8e2
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Fri May 06 10:46:06 2022 -0600

Log Message:
	Use native word size for padding and when reading/writing strings.
	If we try to use the compat word size we can end up in a situation
	where a subsequent PTRACE_POKEDATA overwrites part of what we've
	already written since it always writes in sizeof(long) units.


 src/exec_ptrace.c |  58 ++++++++++++++++++++++++++++++------------------------
 src/exec_ptrace.h |   8 +++---
 2 files changed, 36 insertions(+), 30 deletions(-)

More information about the sudo-commits mailing list