]> ruderich.org/simon Gitweb - safcm/safcm.git/commit
Update comment regarding O_NOFOLLOW
authorSimon Ruderich <simon@ruderich.org>
Tue, 29 Sep 2026 06:14:02 +0000 (08:14 +0200)
committerSimon Ruderich <simon@ruderich.org>
Wed, 4 Nov 2026 06:56:39 +0000 (07:56 +0100)
commit71f9a2d16b70d347c28c2f3d5e849adf8c26f917
treee41ff50fb329d8170846f4cee44083bda74aa31b
parenta04c8d09cb7444aa256a8a445d538e806b4c457a
Update comment regarding O_NOFOLLOW

Go was bitten by this issue: CVE-2026-39822,
https://github.com/advisories/GHSA-xcgv-8mv7-v8c7

    On Unix systems, opening a file in an os.Root improperly follows
    symlinks to locations outside of the Root when the final path
    component of the a path is a symbolic link and the path ends in /.
    For example, 'root.Open("symlink/")' will open "symlink" even when
    "symlink" is a symbolic link pointing outside of the root.
remote/sync/files.go