]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Use O_NOFOLLOW to avoid traversing symlinks when restoring data-carrying hardlinks.
authorTim Kientzle <kientzle@acm.org>
Sun, 11 Sep 2016 21:33:30 +0000 (14:33 -0700)
committerTim Kientzle <kientzle@acm.org>
Sun, 11 Sep 2016 21:33:30 +0000 (14:33 -0700)
commit9f0dee226163de2490510fd258fbd9547a032f16
tree0d48ff2c425ae1936832b381fb02570676e8dc57
parent56fc1f1e005c96126a6b63053ca4c9fad0705cf4
Use O_NOFOLLOW to avoid traversing symlinks when restoring data-carrying hardlinks.

TODO: Consider using this flag in other situations as well.

Thanks to Pavel Raiskup.
libarchive/archive_write_disk_posix.c