[sudo-commits] sudo changeset 14206:8ea754871a54
Todd C. Miller
Todd.Miller at sudo.ws
Thu Sep 22 10:42:40 MDT 2022
changeset: 14206:8ea754871a54 in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/8ea754871a54
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Wed Sep 21 19:06:53 2022 -0600
Log Message:
sudo_mkdir_parents: just use memcpy() to copy the path component.
Using snprintf() for this is overkill, we need to do the same
length check either way.
diffstat:
lib/util/mkdir_parents.c | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
More information about the sudo-commits
mailing list