cvs commit: src/lib/libarchive archive_write_disk.c
Tim Kientzle
kientzle at FreeBSD.org
Wed Aug 27 04:40:49 UTC 2008
kientzle 2008-08-27 04:40:38 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
lib/libarchive archive_write_disk.c
Log:
SVN rev 182230 on 2008-08-27 04:40:38Z by kientzle
MFC r182097: Permit restoring of path/.. if SECURE_NODOTDOT was not specified.
With SECURE_NODOTDOT, this isn't needed because we refuse to restore
anything with '..' in the path. Without, we used to refuse path/..
as a special case (on the grounds that it was silly), but "cpio -p .."
is a common and perfectly valid idiom that incidentally copies "."
to "..".
Revision Changes Path
1.17.2.6 +3 -15 src/lib/libarchive/archive_write_disk.c
More information about the cvs-src
mailing list