aboutsummaryrefslogtreecommitdiffstats
path: root/cpio/cpio.c
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2016-05-16 04:47:32 +0000
committerMartin Matuska <mm@FreeBSD.org>2016-05-16 04:47:32 +0000
commit8eb6639196dbcd2a7e6bb657a72046fd4445cc9f (patch)
treee4217ace1cd7264f3e95786a0bb137ea239f3024 /cpio/cpio.c
parentcf8cc1c88406d9c2a9337df1792143e887e4595e (diff)
downloadsrc-8eb6639196dbcd2a7e6bb657a72046fd4445cc9f.tar.gz
src-8eb6639196dbcd2a7e6bb657a72046fd4445cc9f.zip
Update vendor/libarchvie to git commit 860ec63
Integrates my pull request #709
Notes
Notes: svn path=/vendor/libarchive/dist/; revision=299895
Diffstat (limited to 'cpio/cpio.c')
-rw-r--r--cpio/cpio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpio/cpio.c b/cpio/cpio.c
index b267e9b8a744..4b69893b4579 100644
--- a/cpio/cpio.c
+++ b/cpio/cpio.c
@@ -295,6 +295,7 @@ main(int argc, char *argv[])
"Cannot use both -p and -%c", cpio->mode);
cpio->mode = opt;
cpio->extract_flags &= ~ARCHIVE_EXTRACT_SECURE_NODOTDOT;
+ cpio->extract_flags &= ~ARCHIVE_EXTRACT_SECURE_NOABSOLUTEPATHS;
break;
case OPTION_PASSPHRASE:
cpio->passphrase = cpio->argument;