aboutsummaryrefslogtreecommitdiffstats
path: root/cpio/cpio.c
Commit message (Collapse)AuthorAgeFilesLines
* Update vendor/libarchive/dist to git 85b9f665b6a2d4397fdd38992152d011265e374bMartin Matuska2020-03-021-8/+7
| | | | | | | | | | | | | 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-111-1/+21
| | | | | | | | | | | | | | | | | | 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 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 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-301-0/+4
| | | | | | | | | | | | | | | 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 c253f0aae9ac86a617b4f814137e07757df72391Martin Matuska2017-05-031-4/+9
| | | | | | | | | | | | | | | 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-201-24/+22
| | | | | | | | | | | | | | | | 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-021-5/+5
| | | | | | | | 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 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 30528ed7a9f479f1c363ee8cfa1c5eb4c7d9be10Martin Matuska2016-12-151-2/+1
| | | | | | | | | | | | 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
* Update vendor/libarchive to git f502a81fcd7c331204bf53cc40cbf966ebb28a42Martin Matuska2016-06-211-1/+1
| | | | Notes: svn path=/vendor/libarchive/dist/; revision=302056
* 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-111-19/+71
| | | | | Notes: svn path=/vendor/libarchive/dist/; revision=299425 svn path=/vendor/libarchive/3.2.0/; revision=299528; tag=vendor/libarchive/3.2.0
* Update libarchive's vendor dist to version 3.1.2 from release branch.Martin Matuska2013-03-211-20/+59
| | | | | | | | | | 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-271-12/+24
| | | | | | | | | | | 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-251-7/+59
| | | | | | | | | | Git branch: release Git commit: e2cc36190d7d733b3ac6744ec860d09776c9da02 Obtained from: https://github.com/libarchive/libarchive.git Notes: svn path=/vendor/libarchive/dist/; revision=232133
* Update vendor libarchive dist to new "release" branch (post 3.0.3)Martin Matuska2012-02-081-29/+67
| | | | | | | | | | 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-4/+14
| | | | | | | 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-201-0/+1267
Obtained from: http://libarchive.googlecode.com/svn/release/2.8 Notes: svn path=/vendor/libarchive/dist/; revision=228753