[sudo-commits] sudo changeset 10563:f72901c7f7cc
Todd C. Miller
Todd.Miller at courtesan.com
Mon Jul 25 10:43:16 MDT 2016
changeset: 10563:f72901c7f7cc in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/f72901c7f7cc
user: Todd C. Miller <Todd.Miller at courtesan.com>
date: Mon Jul 25 10:41:33 2016 -0600
Log Message:
Repair symlink check in sudo_edit_openat_nofollow() on systems
without O_NOFOLLOW, it must be done relative to dfd. Previously
the lstat() would always fail, possibly leading to a false positive.
Also add an early symlink check like in sudo_edit() while here.
diffstat:
src/sudo_edit.c | 38 +++++++++++++++++++++++++++++++++++---
1 files changed, 35 insertions(+), 3 deletions(-)
More information about the sudo-commits
mailing list