aboutsummaryrefslogtreecommitdiffstats
path: root/tar/test
Commit message (Collapse)AuthorAgeFilesLines
* Update vendor/libarchive/dist to git 3288ebb0353beb51dfb09d444dedbe9235ead53dvendor/libarchive/3.4.2Martin Matuska2020-02-116-8/+84
| | | | | | | | | | | | | | | | | | Libarchive 3.4.2 Relevant vendor changes: PR #1289: atomic extraction support (bsdtar -x --safe-writes) PR #1308: big endian fix for UTF16 support in LHA reader PR #1326: reject RAR5 files that declare invalid header flags Issue #987: fix support 7z archive entries with Delta filter Issue #1317: fix compression output buffer handling in XAR writer Issue #1319: fix uname or gname longer than 32 characters in pax writer Issue #1325: fix use after free when archiving hardlinks in ISO9660 or XAR Use localtime_r() and gmtime_r() instead of localtime() and gmtime() Notes: svn path=/vendor/libarchive/dist/; revision=357783 svn path=/vendor/libarchive/3.4.2/; revision=357784; tag=vendor/libarchive/3.4.2
* Update vendor/libarchive/dist to git 2f3033ca23f8c21160506c3c7ac8a0df0d3fde42Martin Matuska2019-09-262-3/+3
| | | | | | | | | | Relevant vendor changes: Issue #1237: Fix integer overflow in archive_read_support_filter_lz4.c PR #1249: Correct some typographical and grammatical errors. PR #1250: Minor corrections to the formatting of manual pages Notes: svn path=/vendor/libarchive/dist/; revision=352731
* Update vendor/libarchive/dist to git b5818e39e128eca4951e2ab10467d4d850a2ba57Martin Matuska2019-05-2012-73/+402
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Relevant vendor changes: Issue #795: XAR - do not try to add xattrs without an allocated name PR #812: non-recursive option for extract and list PR #958: support reading metadata from compressed files PR #999: add --exclude-vcs option to bsdtar Issue #1062: treat empty archives with a GNU volume header as valid PR #1074: Handle ZIP files with trailing 0s in the extra fields (Android APK archives) PR #1109: Ignore padding in Zip extra field data (Android APK archives) PR #1167: fix problems related to unreadable directories Issue #1168: fix handling of strtol() and strtoul() PR #1172: RAR5 - fix invalid window buffer read in E8E9 filter PR #1174: ZIP reader - fix of MSZIP signature parsing PR #1175: gzip filter - fix reading files larger than 4GB from memory PR #1177: gzip filter - fix memory leak with repeated header reads PR #1180: ZIP reader - add support for Info-ZIP Unicode Path Extra Field PR #1181: RAR5 - fix merge_block() recursion (OSS-Fuzz 12999, 13029, 13144, 13478, 13490) PR #1183: fix memory leak when decompressing ZIP files with LZMA PR #1184: fix RAR5 OSS-Fuzz issues 12466, 14490, 14491, 12817 OSS-Fuzz 12466: RAR5 - fix buffer overflow when parsing huffman tables OSS-Fuzz 14490, 14491: RAR5 - fix bad shift-left operations OSS-Fuzz 12817: RAR5 - handle a case with truncated huffman tables PR #1186: RAR5 - fix invalid type used for dictionary size mask (OSS-Fuzz 14537) PR #1187: RAR5 - fix integer overflow (OSS-Fuzz 14555) PR #1190: RAR5 - RAR5 don't try to unpack entries marked as directories (OSS-Fuzz 14574) PR #1196: RAR5 - fix a potential SIGSEGV on 32-bit builds OSS-Fuzz 2582: RAR - fix use after free if there is an invalid entry OSS-Fuzz 14331: RAR5 - fix maximum owner name length OSS-Fuzz 13965: RAR5 - use unsigned int for volume number + range check Additional RAR5 reader changes: - support symlinks, hardlinks, file owner, file group, versioned files - change ARCHIVE_FORMAT_RAR_V5 to 0x100000 - set correct mode for readonly directories - support readonly, hidden and system Windows file attributes NOTE: a version bump of libarchive will happen in the following days Notes: svn path=/vendor/libarchive/dist/; revision=347989
* Update vendor/libarchive/dist to git 2c8c83b9731ff822fad6cc8c670ea5519c366a14Martin Matuska2018-07-283-0/+78
| | | | | | | | | | Important vendor changes: PR #993: Chdir to -C directory for metalog processing OSS-Fuzz #4969: Check size of the extended time field in zip archives PR #973: Record informational compression level in gzip header Notes: svn path=/vendor/libarchive/dist/; revision=336851
* Update libarchive to git 2d9156bb3ad92c43c1e81546f4a2c21549ba248fMartin Matuska2018-01-241-0/+2
| | | | | | | | | | | | | | Relevant vendor changes: PR #893: delete dead ppmd7 alloc callbacks PR #904: Fix archive freeing bug in bsdcat PR #961: Fix ZIP format names PR #962: Don't modify attributes for existing directories when ARCHIVE_EXTRACT_NO_OVERWRITE is set PR #964: Fix -Werror=implicit-fallthrough= for GCC 7 PR #970: zip: Allow backslash as path separator Notes: svn path=/vendor/libarchive/dist/; revision=328323
* Update vendor/libarchive to git 92366744a52f3fa83c3899e375e415a5080a05f2Martin Matuska2017-09-305-1/+142
| | | | | | | | | | | | | | | Relevant vendor changes: PR #905: Support for Zstandard read and write filters PR #922: Avoid overflow when reading corrupt cpio archive Issue #935: heap-based buffer overflow in xml_data (CVE-2017-14166) OSS-Fuzz 2936: Place a limit on the mtree line length OSS-Fuzz 2394: Ensure that the ZIP AES extension header is large enough OSS-Fuzz 573: Read off-by-one error in RAR archives (CVE-2017-14502) Security: CVE-2017-14166, CVE-2017-14502 Notes: svn path=/vendor/libarchive/dist/; revision=324145
* Update vendor/libarchive to git 500a62194a1faafaffd286f6da50633e86587f3cMartin Matuska2017-04-032-2/+5
| | | | | | | | Vendor changes (FreeBSD-related): Plug memory leaks in xattr tests. Notes: svn path=/vendor/libarchive/dist/; revision=316455
* Update vendor/libarchive to git e92cb619661b5b52da63867305442e22892a503dMartin Matuska2017-03-233-46/+173
| | | | | | | | | | Vendor changes (FreeBSD-related): - store extended attributes with extattr_set_link() if no fd is provided - add extended attribute tests to libarchive and bsdtar - support the UF_HIDDEN file flag Notes: svn path=/vendor/libarchive/dist/; revision=315875
* Update vendor/libarchive to git 5881c9021a85668bd945593f5ba43a0d22c53d71Martin Matuska2017-03-202-3/+6
| | | | | | | | | | | | | | | | Vendor changes (FreeBSD-related): Break ACL read/write code into platform-specific source files Vendor bugfixes (FreeBSD-related): PR 867 (bsdcpio): show numeric uid/gid when names are not found PR 870 (seekable zip): accept files with valid ZIP64 EOCD headers PR 880 (pax): Fix handling of "size" pax header keyword PR 887 (crypto): Discard 3072 bytes instead of 1024 of first keystream OSS-Fuzz issue 806 (mtree): rework mtree_atol10 integer parser Unbreak static dependency on libbz2 Notes: svn path=/vendor/libarchive/dist/; revision=315633
* Update vendor/libarchive to git f4b9b3fe89b4acfef5e3a2283d3bc542315ddb57Martin Matuska2017-03-021-0/+32
| | | | | | | Fixes for test_options_fflags tar test Notes: svn path=/vendor/libarchive/dist/; revision=314570
* Update vendor/libarchive to git a15c7f7b496ba4cefbcaf6f8ac637db4f3009a58Martin Matuska2017-03-024-1/+553
| | | | | | | | Documentation, style, test suite changes and typo fixes. New bsdtar tests for --acls and --fflags options. Notes: svn path=/vendor/libarchive/dist/; revision=314567
* Update vendor/libarchive to git d6b1bb9f7ea7bc153b7356e8e345c9e48005821avendor/libarchive/3.3.1Martin Matuska2017-03-024-3471/+17
| | | | | | | | | | | | | | | | | | | Release 3.3.1 Notable vendor changes: PR #501: improvements in ACL path handling PR #724: fix hang when reading malformed cpio files PR #864: fix out of bounds read with malformed GNU tar archives Test suite improvements New options to bsdtar that enable or disable reading and/or writing of: Access Control Lists (--acls, --no-acls) Extended file flags (--fflags, --no-fflags) Extended attributes (--xattrs, --no-xattrs) Notes: svn path=/vendor/libarchive/dist/; revision=314565 svn path=/vendor/libarchive/3.3.1/; revision=314566; tag=vendor/libarchive/3.3.1
* Update vendor/libarchive to git d77b577b2d5aa259fca06313c4940e1e61ab1e0eMartin Matuska2017-02-021-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Vendor changes (relevant to FreeBSD): - bugfixes, improvemens and optimizations in ACL code - NFSv4 ACLs can now be extracted from Solaris tar archives Security fixes: - cab reader: endless loop when parsing MSZIP signature (OSS-Fuzz 335) - LHA reader: heap-buffer-overflow in lha_read_file_header_1() (CVE-2017-5601) - LZ4 reader: null-pointer dereference in lz4_filter_read_legacy_stream() (OSS-Fuzz 453) - mtree reader: heap-buffer-overflow in detect_form() (OSS-Fuzz 421, 443) - WARC reader: heap-buffer-overflow in xstrpisotime() (OSS-Fuzz 382, 458) Memory leak fixes: - ACL support: free memory allocated by acl_get_qualifier() - disk writer: missing free in create_filesystem_object() - file reader: fd leak (Coverity 1016755) - gnutar writer: fix free in archive_write_gnutar_header() (Coverity 1016752) - iso 9660 reader: missing free in parse_file_info() (part. Coverity 1016754) - program reader: missing free in __archive_read_program() - program writer: missing free in __archive_write_program_free() - xar reader: missing free in xar_cleanup() - xar reader: missing frees in expat_xmlattr_setup() (Coverity 1229979-1229981) - xar writer: missing free in file_free() - zip reader: missing free in zip_read_locazip_read_local_file_header() Notes: svn path=/vendor/libarchive/dist/; revision=313071
* Update vendor/libarchive to git to 30528ed7a9f479f1c363ee8cfa1c5eb4c7d9be10Martin Matuska2016-12-151-0/+7
| | | | | | | | | | | | Vendor bugfixes: PR 826: OpenSSL 1.1 support PR 830, 831, 833: Spelling fixes OSS-Fuzz 227, 230, 239: Fix possible memory leak in archive_read_free() OSS-Fuzz 237: Fix heap buffer overflow when reading invalid ar archives Notes: svn path=/vendor/libarchive/dist/; revision=310115
* Merge PR to address tar/test coverity issuesEnji Cooper2016-12-1219-51/+97
| | | | | | | Obtained from: libarchive (fd0ea220635939ffe4b9ffb5cacaaa526a25b5ae) Notes: svn path=/vendor/libarchive/dist/; revision=309864
* Update vendor/libarchive to git 2d2b3e928605f795515b03f060fd638c265b0778Martin Matuska2016-12-013-5/+5
| | | | | | | | | | Small improvements, style fixes, bugfixes. Important vendor bugfixes: Restore compatibility with Perl Archive::Tar that was broken with #825 Notes: svn path=/vendor/libarchive/dist/; revision=309362
* Update vendor/libarchive to git 256e52f073765a4ddad1e86fd4d0eda2a18147bfMartin Matuska2016-11-291-1/+17
| | | | | | | | | Important vendor bugfixes (relevant to FreeBSD): #821: tar -P cannot extract hardlinks through symlinks #825: Add sanity check of tar "uid, "gid" and "mtime" fields Notes: svn path=/vendor/libarchive/dist/; revision=309299
* Update vendor/libarchive to git 629358182b04d7de2316bbd29708c58ddf797fd2vendor/libarchive/3.2.2Martin Matuska2016-10-245-5/+8
| | | | | | | | Libarchive 3.2.2 Notes: svn path=/vendor/libarchive/dist/; revision=307859 svn path=/vendor/libarchive/3.2.2/; revision=307860; tag=vendor/libarchive/3.2.2
* Update vendor/libarchive to git e3bdbbf3475c3abf264e563c753a20972095665eMartin Matuska2016-10-133-2/+48
| | | | | | | | Important vendor bugfixes (relevant to FreeBSD): #801: FreeBSD Coverity report: resource leak in libarchive/tar/test/main.c Notes: svn path=/vendor/libarchive/dist/; revision=307214
* Update vendor/libarchive to git 024be27d1b299c030e8841bed3002ee07ba9eedcMartin Matuska2016-10-046-13/+59
| | | | | | | | | | | | | Important vendor bugfixes (relevant to FreeBSD): #747: Out of bounds read in mtree parser #761: heap-based buffer overflow in read_Header (7-zip) #784: Invalid file on bsdtar command line results in internal errors (1) PR: 213092 (1) Obtained from: https://github.com/libarchive/libarchive Notes: svn path=/vendor/libarchive/dist/; revision=306669
* Update vendor/libarchive to git 6a0d970f70102fe50ee9f1e51a2e4c048985e616Martin Matuska2016-08-131-1/+1
| | | | | | | | | | | | Vendor issues fixed: Issue #744: Very long pathnames evade symlink checks Issue #748: libarchive can compress, but cannot decompress zip some files PR #750: ustar: fix out of bounds read on empty string ("") filename PR #755: fix use of acl_get_flagset_np() on FreeBSD Notes: svn path=/vendor/libarchive/dist/; revision=304060
* Update vendor/libarchive to git d85976e7ff4a062e1de6e04dab7bb78e3344768fMartin Matuska2016-06-183-26/+87
| | | | | | | | | | | | | Fixed vendor issues: Issue 553: Fix broken decryption for ZIP files Issue 657: Allow up to 8k for the test root directory name Issue 682: Correctly write gnutar filenames of exactly 512 bytes Issue 708: tar should fail if a named input file is missing PR 715: Fix libarchive/archive_read_support_format_mtree.c:1388:11: error: array subscript is above array bounds Notes: svn path=/vendor/libarchive/dist/; revision=302003
* Update vendor/libarchive/dist to git commit 61c56e5 (post 3.2.0)vendor/libarchive/3.2.0Martin Matuska2016-05-1114-27/+520
| | | | | Notes: svn path=/vendor/libarchive/dist/; revision=299425 svn path=/vendor/libarchive/3.2.0/; revision=299528; tag=vendor/libarchive/3.2.0
* Keep full libarchive distribution in vendor branch (prep for 3.2.0 update)Martin Matuska2016-05-112-0/+425
| | | | Notes: svn path=/vendor/libarchive/dist/; revision=299422
* Trim libarchive/dist using FREEBSD-XlistMartin Matuska2016-05-102-425/+0
| | | | Notes: svn path=/vendor/libarchive/dist/; revision=299390
* Update libarchive's vendor dist to version 3.1.2 from release branch.Martin Matuska2013-03-2138-112/+1410
| | | | | | | | | | Git branch: release Git commit: 19f23e191f9d3e1dd2a518735046100419965804 Obtained from: https://github.com/libarchive/libarchive.git Notes: svn path=/vendor/libarchive/dist/; revision=248590
* Update libarchive's vendor dist to version 3.0.4 from release branch.vendor/libarchive/3.0.4Martin Matuska2012-07-276-162/+387
| | | | | | | | | | | Git branch: release Git commit: 8076b31490c90aaf0edccecf760004c30bd95edc Obtained from: https://github.com/libarchive/libarchive.git Notes: svn path=/vendor/libarchive/dist/; revision=238825 svn path=/vendor/libarchive/3.0.4/; revision=238833; tag=vendor/libarchive/3.0.4
* Update libarchive's vendor dist to latest changes in release branch.Martin Matuska2012-02-252-28/+45
| | | | | | | | | | Git branch: release Git commit: e2cc36190d7d733b3ac6744ec860d09776c9da02 Obtained from: https://github.com/libarchive/libarchive.git Notes: svn path=/vendor/libarchive/dist/; revision=232133
* Update libarchive's vendor dist to latest changes in release branch.Martin Matuska2012-02-091-3/+3
| | | | | | | | | | | | 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 Notes: svn path=/vendor/libarchive/dist/; revision=231297
* Update libarchive's dist to latest changes in release branchMartin Matuska2012-02-091-11/+11
| | | | | | | | | | Git branch: release Git commit: c477edc817b4382a1d0b2ff8c7b619af13bd349e Obtained from: https://github.com/libarchive/libarchive.git Notes: svn path=/vendor/libarchive/dist/; revision=231270
* Update vendor libarchive dist to new "release" branch (post 3.0.3)Martin Matuska2012-02-0830-428/+2483
| | | | | | | | | | Git branch: release Git commit: 9af87742342aa4f37a22ec12c4cc1c82e00ffa2f Obtained from: https://github.com/libarchive/libarchive.git Notes: svn path=/vendor/libarchive/dist/; revision=231200
* Update to vendor revision 3982Martin Matuska2011-12-261-1/+1
| | | | | | | Obtained from: http://libarchive.googlecode.com/svn/release/2.8 Notes: svn path=/vendor/libarchive/dist/; revision=228905
* Vendor import of libarchive (release/2.8, r3824)Martin Matuska2011-12-2022-0/+6002
Obtained from: http://libarchive.googlecode.com/svn/release/2.8 Notes: svn path=/vendor/libarchive/dist/; revision=228753