Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Sep 2008 05:22:33 +0000 (UTC)
From:      Tim Kientzle <kientzle@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libarchive archive_write_disk.c src/lib/libarchive/test test_write_disk_secure.c
Message-ID:  <200809070522.m875Mh2l031226@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809070522.m875Mh2l031226>