kientzle 2008-09-07 05:22:33 UTC
FreeBSD src repository
Modified files:
lib/libarchive archive_write_disk.c
lib/libarchive/test test_write_disk_secure.c
Log:
SVN rev 182838 on 2008-09-07 05:22:33Z by kientzle
When restoring a directory, allow symlinks to be followed. The full
logic here gets a little complex, but the net effect is that the
SECURE_SYMLINKS flag will prevent us from ever following a symlink.
Without it, we'll only follow symlinks to dirs. bsdtar specifies
SECURE_SYMLINKS by default, suppresses it for -P.
I've also beefed up the write_disk_secure test to verify this
behavior.
PR: bin/126849
Revision Changes Path
1.36 +15 -3 src/lib/libarchive/archive_write_disk.c
1.6 +73 -0 src/lib/libarchive/test/test_write_disk_secure.c
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"