[Bug 269780] O_RESOLVE_BENEATH succeeds on ".." on "/"
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 269780] O_RESOLVE_BENEATH succeeds on ".." on "/""
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 24 Apr 2023 21:32:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269780
--- Comment #7 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=a718431c30a57226bc7c1a9181fc84bab00641a1
commit a718431c30a57226bc7c1a9181fc84bab00641a1
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2023-04-23 23:21:42 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2023-04-24 21:32:10 +0000
lookup(): ensure that openat("/", "..", O_RESOLVE_BENEATH) fails
PR: 269780
Reported by: Dan Gohman <dev@sunfishcode.online>
Reviewed by: emaste, markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D39773
sys/kern/vfs_lookup.c | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
--
You are receiving this mail because:
You are the assignee for the bug.