cvs commit: src/lib/libarchive archive_write_disk.c
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)
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 "."
Revision Changes Path
126.96.36.199 +3 -15 src/lib/libarchive/archive_write_disk.c
More information about the cvs-all