[sudo-commits] sudo changeset 13934:13f7e63a31bd
Todd C. Miller
Todd.Miller at sudo.ws
Fri May 6 19:47:50 MDT 2022
changeset: 13934:13f7e63a31bd in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/13f7e63a31bd
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Fri May 06 19:46:22 2022 -0600
Log Message:
Avoid potentially overwriting string table when writing argv.
In compat mode, if argc is odd, writing the last pointer of argv will
overlap with the address of argv[0], so leave an extra word in between.
Also remove incorrect comments about PTRACE_PEEKDATA unaligned access.
diffstat:
src/exec_ptrace.c | 16 +++++++---------
1 files changed, 7 insertions(+), 9 deletions(-)
More information about the sudo-commits
mailing list