cvs commit: src/lib/libarchive archive_write_disk.c src/lib/libarchive/test test_write_disk_secure.c

Tim Kientzle kientzle at
Sun Sep 7 05:22:43 UTC 2008

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 
  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
  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

More information about the cvs-src mailing list