Commit Graph

120 Commits

Author SHA1 Message Date
Martin Matuska
8c8f03ca5b Keep full libarchive distribution in vendor branch (prep for 3.2.0 update) 2016-05-11 10:10:11 +00:00
Martin Matuska
43341e7cf4 Trim libarchive/dist using FREEBSD-Xlist 2016-05-10 21:12:32 +00:00
Xin LI
c5f9310ca9 Apply upstream commit 6e06b1c8 (partial, by kientzle):
Fix a potential crash issue discovered by Alexander Cherepanov:
It seems bsdtar automatically handles stacked compression. This is a
nice feature but it could be problematic when it's completely
unlimited.  Most clearly it's illustrated with quines:

$ curl -sRO http://www.maximumcompression.com/selfgz.gz
$ (ulimit -v 10000000 && bsdtar -tvf selfgz.gz)
bsdtar: Error opening archive: Can't allocate data for gzip decompression

Without ulimit, bsdtar will eat all available memory. This could also
be a problem for other applications using libarchive.
2016-02-23 07:04:54 +00:00
Bryan Drewery
25d3ca0980 Apply upstream changeset bf4f6ec64e:
Fix issue 356: properly skip a sparse file entry in a tar file.
2015-07-28 17:48:34 +00:00
Bryan Drewery
34f1f5d95e Apply upstream changeset fa9e61:
Fix --one-file-system to include the directory encountered rather than
excluding it.
2015-07-28 17:20:35 +00:00
Xin LI
5361c268d4 Apply upstream changeset 24f5de6:
Set a proper error message if we hit end-of-file when
trying to read a cpio header.

Suggested by Issue #395, although the actual problem there
seems to have been the same as Issue #394.
2015-05-14 21:39:03 +00:00
Xin LI
95b982db7d Apply upstream changeset e6c9668:
Add a check to archive_read_filter_consume to reject any
attempts to move the file pointer by a negative amount.

Note:  Either this or commit 3865cf2 provides a fix for
Issue 394.
2015-05-14 21:34:20 +00:00
Xin LI
c792c52ca1 Apply upstream changeset 3865cf2:
Issue 394: Segfault when reading malformed old-style cpio archives
Root cause here was an implicit cast that resulted in
reading very large file sizes as negative numbers.
2015-05-14 21:33:33 +00:00
Martin Matuska
48ff71b692 Delete files accidentially left over in r248590 (libarchive 3.1.2) 2013-03-21 21:51:46 +00:00
Martin Matuska
6a316f322a Update libarchive's vendor dist to version 3.1.2 from release branch.
Git branch:	release
Git commit:	19f23e191f9d3e1dd2a518735046100419965804

Obtained from:	https://github.com/libarchive/libarchive.git
2013-03-21 18:59:02 +00:00
Martin Matuska
81418b36c0 Update libarchive's vendor dist to version 3.0.4 from release branch.
Git branch:	release
Git commit:	8076b31490c90aaf0edccecf760004c30bd95edc

Obtained from:	https://github.com/libarchive/libarchive.git
2012-07-27 08:24:12 +00:00
Martin Matuska
132160f774 Update libarchive's vendor dist to latest changes in release branch.
Git branch:	release
Git commit:     e2cc36190d7d733b3ac6744ec860d09776c9da02

Obtained from:  https://github.com/libarchive/libarchive.git
2012-02-25 00:16:00 +00:00
Martin Matuska
4d44c8d182 Update libarchive's vendor dist to latest changes in release branch.
Now all the gcc warnings I have reported upstream should be fixed.

Git branch:	release
Git commit:	01580b4298a946fb31e822a083bf49e9f37809ac

Obtained from:	https://github.com/libarchive/libarchive.git
2012-02-09 19:13:36 +00:00
Martin Matuska
bfd7accf01 Update libarchive's dist to latest changes in release branch
Git branch:	release
Git commit:	c477edc817b4382a1d0b2ff8c7b619af13bd349e

Obtained from:	https://github.com/libarchive/libarchive.git
2012-02-09 10:56:05 +00:00
Martin Matuska
17993d47e9 Update vendor libarchive dist to new "release" branch (post 3.0.3)
Git branch:	release
Git commit:	9af87742342aa4f37a22ec12c4cc1c82e00ffa2f

Obtained from:	https://github.com/libarchive/libarchive.git
2012-02-08 12:53:14 +00:00
Martin Matuska
d8b2811c01 Update to vendor revision 4183
Obtained from:	http://libarchive.googlecode.com/svn/release/2.8
2012-01-29 22:12:48 +00:00
Martin Matuska
1cd00a236b Update to vendor revision 4016
Obtained from:	http://libarchive.googlecode.com/svn/release/2.8
2011-12-27 10:21:29 +00:00
Martin Matuska
7691a6970b Update to vendor revision 3982
Obtained from:	http://libarchive.googlecode.com/svn/release/2.8
2011-12-26 22:25:58 +00:00
Martin Matuska
4b16b4e80e Set svn:eol-style property to native for all text files in vendor/libarchive 2011-12-21 09:08:41 +00:00
Martin Matuska
35fa5e2f58 Vendor import of libarchive (release/2.8, r3824)
Obtained from:	http://libarchive.googlecode.com/svn/release/2.8
2011-12-20 22:47:56 +00:00