[sudo-commits] sudo changeset 14207:d36591f966c5

Todd C. Miller Todd.Miller at sudo.ws
Thu Sep 22 10:42:41 MDT 2022


changeset:	14207:d36591f966c5 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/d36591f966c5
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Wed Sep 21 19:08:09 2022 -0600

Log Message:
	Fix potential TOCTOU when creating time stamp directory and file.

diffstat:

 include/sudo_util.h         |    8 +-
 lib/util/mkdir_parents.c    |   48 +++++++---
 lib/util/secure_path.c      |  100 +++++++++++++++++++-----
 lib/util/util.exp.in        |    3 +
 plugins/sudoers/timestamp.c |  182 ++++++++++++++++++++++++-------------------
 5 files changed, 223 insertions(+), 118 deletions(-)



More information about the sudo-commits mailing list