aboutsummaryrefslogtreecommitdiffstats
path: root/cpio
Commit message (Collapse)AuthorAgeFilesLines
* Update vendor/libarchive/dist to git 85b9f665b6a2d4397fdd38992152d011265e374bMartin Matuska2020-03-023-23/+26
| | | | | | | | | | | | | Relevant vendor changes: Issue #1257: Add testcase for ZIPX files with LZMA_STREAM_END marker PR #1331: cpio.5: fix hard link description Issue #1335: archive_read.c: fix UBSan warning about undefined behavior Issue #1338: XAR reader: fix UBSan warning about undefined behavior Issue #1339: bsdcpio_test: fix datatype in from_hex() Issue #1341: Safe writes: delete temporary file if rename fails Notes: svn path=/vendor/libarchive/dist/; revision=358511
* Update vendor/libarchive/dist to git 3288ebb0353beb51dfb09d444dedbe9235ead53dvendor/libarchive/3.4.2Martin Matuska2020-02-113-13/+38
| | | | | | | | | | | | | | | | | | 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-261-2/+1
| | | | | | | | | | 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-206-10/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 31c0a517c91f44eeee717a04db8b075cadda83d8Martin Matuska2019-02-121-4/+4
| | | | | | | | | | | | | | | | | | | | | Relevant vendor changes: PR #1085: Fix a null pointer dereference bug in zip writer PR #1110: ZIP reader added support for XZ, LZMA, PPMD8 and BZIP2 decopmpression PR #1116: Add support for 64-bit ar format PR #1120: Fix a 7zip crash [1] and a ISO9660 infinite loop [2] PR #1125: RAR5 reader - fix an invalid read and a memory leak PR #1131: POSIX reader - do not fail when tree_current_lstat() fails due to ENOENT [3] PR #1134: Delete unnecessary null pointer checks before calls of free() OSS-Fuzz 10843: Force intermediate to uint64_t to make UBSAN happy. OSS-Fuzz 11011: Avoid buffer overflow in rar5 reader PR: 233006 [3] Security: CVE-2019-1000019 [1], CVE-2019-1000020 [2] Notes: svn path=/vendor/libarchive/dist/; revision=344063
* Update vendor/libarchive/dist to git 0e416f2fe757ad6841dbb3386a17d88b5c9f5533Martin Matuska2018-11-241-1/+3
| | | | | | | | | | | Relevant vendor changes: PR #1080: Spelling fixes PR #1084: RAR5 reader bugfixes PR #1091: fix use-after-free in delayed newc link processing PR #1092: Fix a few obvious resource leaks and strcpy() misuses Notes: svn path=/vendor/libarchive/dist/; revision=340865
* Update vendor/libarchive/dist to git d5f35a90a4cb1eeb918213bff9d78e8b0471dc0aMartin Matuska2018-10-231-4/+11
| | | | | | | | | | | | | | | | Relevant vendor changes: PR #1013: Add missing h_base offset when performing absolute seeks in xar decompression PR #1061: Add support for extraction of RAR v5 archives PR #1066: Fix out of bounds read on empty string filename for gnutar, pax and v7tar PR #1067: Fix temporary file path buffer overflow in tests IS #1068: Correctly process and verify integer arguments passed to bsdcpio and bsdtar PR #1070: Don't default XAR entry atime/mtime to the current time Notes: svn path=/vendor/libarchive/dist/; revision=339640
* Update vendor/libarchive/dist to git 5fe69dd018745a88eecf1f7db40daf12d26f7ed0vendor/libarchive/3.3.3Martin Matuska2018-09-072-27/+73
| | | | | | | | libarchive 3.3.3 Notes: svn path=/vendor/libarchive/dist/; revision=338519 svn path=/vendor/libarchive/3.3.3/; revision=338520; tag=vendor/libarchive/3.3.3
* Update vendor/libarchive/dist to git 2c8c83b9731ff822fad6cc8c670ea5519c366a14Martin Matuska2018-07-281-1/+1
| | | | | | | | | | 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 vendor/libarchive to git 92366744a52f3fa83c3899e375e415a5080a05f2Martin Matuska2017-09-308-1/+153
| | | | | | | | | | | | | | | 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 f2230fcaed3159d10caed63d9a20caa9fdc94c62Martin Matuska2017-05-111-1/+1
| | | | | | | | | | Vendor fixes: #909: Fix use after free in cpio test_option_lz4 Reported by: Coverity (ngie@) Notes: svn path=/vendor/libarchive/dist/; revision=318184
* Update vendor/libarchive to git c253f0aae9ac86a617b4f814137e07757df72391Martin Matuska2017-05-0313-15/+43
| | | | | | | | | | | | | | | Vendor changes (FreeBSD-related): PR 897: test for ZIP archives with invalid EOCD headers PR 901: fix invalid renaming of sparse files OSS-Fuzz issue 497: remove fallback tree in LZX decoder OSS-Fuzz issue 527: rewrite expressions in lz4 filter OSS-Fuzz issue 577: fix integer overflow in cpio reader OSS-Fuzz issue 862: fix numerc parsing in mtree reader OSS-Fuzz issue 1097: fix undefined shift in rar reader cpio: various optimizations and memory leak fixes Notes: svn path=/vendor/libarchive/dist/; revision=317781
* Update vendor/libarchive to git 5881c9021a85668bd945593f5ba43a0d22c53d71Martin Matuska2017-03-202-25/+28
| | | | | | | | | | | | | | | | 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 a15c7f7b496ba4cefbcaf6f8ac637db4f3009a58Martin Matuska2017-03-022-5/+10
| | | | | | | | 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-3487/+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 2a2488a81599f9cd065a8254b16a6fd48d81c3b4Martin Matuska2016-12-301-0/+1
| | | | | | | | | | Vendor bugfixes: PR #843: Fix memory leak of struct archive_entry in cpio/cpio.c PR #851: Spelling fixes Fix two protoypes in manual page archive_read_disk.3 Notes: svn path=/vendor/libarchive/dist/; revision=310798
* Update vendor/libarchive to git to 42a3408ac7df1e69bea9ea12b72e14f59f7400c0Martin Matuska2016-12-271-1/+1
| | | | | | | | | | | | | | | | Vendor bugfixes: PR 844: Coverity bug fixes in tests PR 846: Spelling fixes PR 850: Fix issues with reading certain jar files 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 OSS-Fuzz 286: Bugfix in archive_strncat_l() Notes: svn path=/vendor/libarchive/dist/; revision=310622
* Update vendor/libarchive to git to 30528ed7a9f479f1c363ee8cfa1c5eb4c7d9be10Martin Matuska2016-12-152-2/+8
| | | | | | | | | | | | 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
* Free p (the memory allocated via slurpfile) when done with the contentsEnji Cooper2016-12-124-3/+15
| | | | | | | | | | Reported by: Coverity CID: 1331631, 1331632, 1331633, 1331646 Obtained from: libarchive (ebe29c0ec3b1aaa424df9cf884721c6018c676f4) Notes: svn path=/vendor/libarchive/dist/; revision=309863
* Update vendor/libarchive to git ddb3954bfdb9a0a98d50fb1c50cbecb603d9adf0Martin Matuska2016-12-061-2/+2
| | | | | | | | | | | | | | | | | Vendor bugfixes: libarchive #831: Spelling fixes libarchive #832: Relax sanity checks of number fields in tar header even more OSS-Fuzz #16: Fix possible hang in uudecode_filter_read() OSS-Fuzz #220: Reject an 'ar' filename table larger than 1GB or a filename larger than 1MB. Notes: svn path=/vendor/libarchive/dist/; revision=309587
* Update vendor/libarchive to git 629358182b04d7de2316bbd29708c58ddf797fd2vendor/libarchive/3.2.2Martin Matuska2016-10-243-1/+37
| | | | | | | | 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-132-1/+20
| | | | | | | | 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-042-2/+38
| | | | | | | | | | | | | 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-132-1/+2
| | | | | | | | | | | | 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 f502a81fcd7c331204bf53cc40cbf966ebb28a42Martin Matuska2016-06-212-3/+3
| | | | Notes: svn path=/vendor/libarchive/dist/; revision=302056
* Update vendor/libarchive to git d85976e7ff4a062e1de6e04dab7bb78e3344768fMartin Matuska2016-06-183-26/+102
| | | | | | | | | | | | | 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/libarchvie to git commit 860ec63Martin Matuska2016-05-161-0/+1
| | | | | | | Integrates my pull request #709 Notes: svn path=/vendor/libarchive/dist/; revision=299895
* Update vendor/libarchive/dist to git commit 61c56e5 (post 3.2.0)vendor/libarchive/3.2.0Martin Matuska2016-05-1119-60/+478
| | | | | 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-115-0/+606
| | | | Notes: svn path=/vendor/libarchive/dist/; revision=299422
* Trim libarchive/dist using FREEBSD-XlistMartin Matuska2016-05-105-606/+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-2135-133/+1097
| | | | | | | | | | 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-2710-346/+281
| | | | | | | | | | | 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-9/+70
| | | | | | | | | | 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-0815-306/+1016
| | | | | | | | | | 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-264-7/+21
| | | | | | | 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-2052-0/+8346
Obtained from: http://libarchive.googlecode.com/svn/release/2.8 Notes: svn path=/vendor/libarchive/dist/; revision=228753