Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Apr 2023 21:32:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 269780] O_RESOLVE_BENEATH succeeds on ".." on "/"
Message-ID:  <bug-269780-227-MGZVYmxJvU@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-269780-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-269780-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269780

--- Comment #7 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3Da718431c30a57226bc7c1a9181fc84bab=
00641a1

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(-)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269780-227-MGZVYmxJvU>