[sudo-commits] sudo changeset 13869:11636745ce29
Todd C. Miller
Todd.Miller at sudo.ws
Fri Mar 11 08:22:47 MST 2022
changeset: 13869:11636745ce29 in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/11636745ce29
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Thu Mar 10 20:16:51 2022 -0700
Log Message:
sudo_secure_path: pass the struct stat * argument directly to stat(2)
Set the pointer to a struct stat on the stack if st is NULL.
Avoids a needless memcpy() at the end.
diffstat:
lib/util/secure_path.c | 29 +++++++++++++++--------------
1 files changed, 15 insertions(+), 14 deletions(-)
More information about the sudo-commits
mailing list