aboutsummaryrefslogtreecommitdiffstats
path: root/build
Commit message (Collapse)AuthorAgeFilesLines
* Update vendor/libarchive/dist to b2c3ee7e2907511533eeb2a0f2ceecc1faa73185vendor/libarchiveMartin Matuska2020-12-132-1/+4
| | | | | | | | | | | | Vendor changes: Issue #1461: Unbreak build without lzma Issue #1462: warc reader: Fix build with gcc11 Issue #1463: Fix code compatibility in test_archive_read_support.c Issue #1464: Use built-in strnlen on platforms where not available Issue #1465: warc reader: fix undefined behaviour in deconst() function Notes: svn path=/vendor/libarchive/dist/; revision=368607
* Update vendor/libarchive/dist to git 833821f55b1807cac22a63a58b759a7802df2fb7vendor/libarchive/3.5.0Martin Matuska2020-12-014-5/+23
| | | | | | | | | | | | | | | | | | | | | Libarchive 3.5.0 Relevant vendor changes: Issue #1258: add archive_read_support_filter_by_code() PR #1347: mtree digest reader support Issue #1381: skip hardlinks pointing to itself on extraction PR #1387: fix writing of cpio archives with hardlinks without file type PR #1388: fix rdev field in cpio format for device nodes PR #1389: completed support for UTF-8 encoding conversion PR #1405: more formats in archive_read_support_format_by_code() PR #1408: fix uninitialized size in rar5_read_data PR #1409: system extended attribute support PR #1435: support for decompression of symbolic links in zipx archives Issue #1456: memory leak after unsuccessful archive_write_open_filename Notes: svn path=/vendor/libarchive/dist/; revision=368207 svn path=/vendor/libarchive/3.5.0/; revision=368208; tag=vendor/libarchive/3.5.0
* Update vendor/libarchive/dist to git fc6563f5130d8a7ee1fc27c0e55baef35119f26cvendor/libarchive/3.4.3Martin Matuska2020-05-203-4/+4
| | | | | | | | | | | | | | | | | Libarchive 3.4.3 Relevant vendor changes: PR #1352: support negative zstd compression levels PR #1359: improve zstd version checking PR #1348: support RHT.security.selinux from GNU tar PR #1357: support for archives compressed with pzstd PR #1367: fix issues in acl tests PR #1372: child handling cleanup PR #1378: fix memory leak from passphrase callback Notes: svn path=/vendor/libarchive/dist/; revision=361280 svn path=/vendor/libarchive/3.4.3/; revision=361281; tag=vendor/libarchive/3.4.3
* Update vendor/libarchive/dist to git 85b9f665b6a2d4397fdd38992152d011265e374bMartin Matuska2020-03-027-16/+42
| | | | | | | | | | | | | 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-116-20/+76
| | | | | | | | | | | | | | | | | | 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 5e270715b51d199467195b56f77e21cb8bb1d642Martin Matuska2020-01-055-6/+42
| | | | | | | | Relevant vendor changes: Issue #1302: Plug memory leak on failure of archive_write_client_open() Notes: svn path=/vendor/libarchive/dist/; revision=356365
* Update vendor/libarchive/dist to cce09646b566c61c2debff58a70da780b8457883vendor/libarchive/3.4.1Martin Matuska2019-12-301-1/+1
| | | | | | | | Libarchive 3.4.1 Notes: svn path=/vendor/libarchive/dist/; revision=356197 svn path=/vendor/libarchive/3.4.1/; revision=356198; tag=vendor/libarchive/3.4.1
* Update vendor/libarchive/dist to git 1dae5a549fe4ab99fd3a49a9edcf897a7b2b1844Martin Matuska2019-12-283-1/+90
| | | | | | | | | | | | | | | | | | | | Relevant vendor changes: Issue #351: Refactor and implement private state logic for write filters PR #1252: RAR5 reader - verify window size for solid files (OSS-Fuzz 15482) PR #1255: zip writer - don't append unused NUL for directories PR #1260: Fix sparse file offset overflow on 32-bit systems PR #1263: UNICODE filename support for reading lha/lzh format Issue #1276: Bugfix and optimize archive_wstring_append_from_mbs() PR #1288: Add the "xattrhdr" option to pax write options PR #1295: 7z reader - fix reading archives with digests in PackInfo PR #1296: RAR5 reader - verify window size for multivolume archives PR #1297: ZIP reader - support LZMA_STREAM_END marker in 'lzma alone' files Issue #1298: Fix a heap-buffer-overflow in archive_string_append_from_wcs() OSS-Fuzz 19360, 19362: LHA reader - plug two memory leaks on error Fix possible off-by-one when dealing with readlink(2) Notes: svn path=/vendor/libarchive/dist/; revision=356163
* Update vendor/libarchive/dist to git d6d3799d6b309593f271c4c319dfba92efc95772Martin Matuska2019-06-272-2/+2
| | | | | | | | | | Relevant vendor changes: PR #1217: RAR5 reader - fix ARM filter going beyond window buffer boundary (OSS-Fuzz 15431) PR #1218: Fixes to sparse file handling Notes: svn path=/vendor/libarchive/dist/; revision=349454
* Update vendor/libarchive/dist to git 91b5c59ada211293bd3d9fd6e803ebfc07085c04Martin Matuska2019-06-111-1/+1
| | | | | | | - cosmetic changes only Notes: svn path=/vendor/libarchive/dist/; revision=348977
* Update vendor/libarchive/dist to git 614110e76d9dbb9ed3e159a71cbd75fa3b23efe3vendor/libarchive/3.4.0Martin Matuska2019-06-113-2/+5
| | | | | | | | | | | Relevant vendor changes (release 3.4.0): - check_symlinks_fsobj() without chdir() and fchdir() - bsdtar.1 manpage fixes - patches from OpenBSD to libarchive_fe/passphrase.c Notes: svn path=/vendor/libarchive/dist/; revision=348971 svn path=/vendor/libarchive/3.4.0/; revision=348973; tag=vendor/libarchive/3.4.0
* Update vendor/libarchive/dist to git b5818e39e128eca4951e2ab10467d4d850a2ba57Martin Matuska2019-05-2010-7/+202
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 3c079320b23ddf5ef38c443569c25898ad79ddb9Martin Matuska2019-03-251-0/+32
| | | | | | | | | | | | Relevant vendor changes: PR #1153: fixed 2 bugs in ZIP reader PR #1143: ensure archive_read_disk_entry_from_file() uses ARCHIVE_READ_DISK Changes to file flags code, support more file flags on FreeBSD: UF_OFFLINE, UF_READONLY, UF_SPARSE, UF_REPARSE, UF_SYSTEM UF_ARCHIVE is not supported by intention (yet) Notes: svn path=/vendor/libarchive/dist/; revision=345495
* Update vendor/libarchive/dist to git 31c0a517c91f44eeee717a04db8b075cadda83d8Martin Matuska2019-02-123-16/+72
| | | | | | | | | | | | | | | | | | | | | 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-0/+6
| | | | | | | | | | | 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 0cda60af13e709e670af90553b2271bf194e7ccdMartin Matuska2018-09-191-1/+1
| | | | | | | | | Relevant vendor changes: PR #1019: Add allocation check for the zip_entry struct Oss-Fuzz #10192: Handle whitespace-only ACL fields correctly Notes: svn path=/vendor/libarchive/dist/; revision=338797
* Update vendor/libarchive/dist to git 5fe69dd018745a88eecf1f7db40daf12d26f7ed0vendor/libarchive/3.3.3Martin Matuska2018-09-072-1/+5
| | | | | | | | 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 to git 92366744a52f3fa83c3899e375e415a5080a05f2Martin Matuska2017-09-302-0/+7
| | | | | | | | | | | | | | | 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 347ac2b6adfd4bca7418d30d7278d5343fc6e25eMartin Matuska2017-07-281-1/+1
| | | | | | | libarchive 3.3.3dev Notes: svn path=/vendor/libarchive/dist/; revision=321672
* Update vendor/libarchive to git 98a695399e8e7420635a5448aecde8b0a82fb83avendor/libarchive/3.3.2Martin Matuska2017-07-131-1/+1
| | | | | | | | | | | Release 3.3.2 Vendor changes: PR #901: don't depend on stdin in a testcase Notes: svn path=/vendor/libarchive/dist/; revision=320924 svn path=/vendor/libarchive/3.3.2/; revision=320926; tag=vendor/libarchive/3.3.2
* Update vendor/libarchive to git e92cb619661b5b52da63867305442e22892a503dMartin Matuska2017-03-231-0/+16
| | | | | | | | | | 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-201-0/+24
| | | | | | | | | | | | | | | | 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-10/+44
| | | | | | | | 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-023-1/+5
| | | | | | | | | | | | | | | | | | | 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-023-6/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Add vendor/libarchive/dist files missing in r310115Martin Matuska2016-12-171-0/+148
| | | | Notes: svn path=/vendor/libarchive/dist/; revision=310184
* Update vendor/libarchive to git to 30528ed7a9f479f1c363ee8cfa1c5eb4c7d9be10Martin Matuska2016-12-152-10/+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
* Update vendor/libarchive to git 256e52f073765a4ddad1e86fd4d0eda2a18147bfMartin Matuska2016-11-292-50/+9
| | | | | | | | | 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-242-1/+104
| | | | | | | | 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 b4099917d6893ed77af24caff1156e044ebd4fa5Martin Matuska2016-09-051-0/+6
| | | | | | | | | | | | Vendor issues fixed: PR #777: Multiple bugfixes for setup_acls() This fixes a bug that caused ACLs not to be read properly for files and directories inside subdirectories and as a result not being stored in tar archives. Notes: svn path=/vendor/libarchive/dist/; revision=305420
* Update vendor/libarchive to git 6a0d970f70102fe50ee9f1e51a2e4c048985e616Martin Matuska2016-08-131-0/+6
| | | | | | | | | | | | 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 084ef320b8fc62e3fd3acb762fe6175d48d7829cMartin Matuska2016-06-291-43/+0
| | | | | | | | | | | Vendor issues fixed: #686: Correctly grow buffer in archive_string_append_from_wcs_in_codepage() FreeBSD PR #204157: Fix test on filesystems without birthtime support PR: 204157 Notes: svn path=/vendor/libarchive/dist/; revision=302264
* Update vendor/libarchive to git 139d0576b51a253732a5ab1f66805dffbf8b00afMartin Matuska2016-06-201-1/+1
| | | | | | | | | | | | | | | | tag v3.2.1 Fixed vendor issues: Issue 521: Properly check reading from lzss decompression buffer Issue 717: Fix integer overflow when computing location of volume descriptor Issue 718: Security fix TALOS-CAN-152 Issue 719: Security fix TALOS-CAN-154 Security: TALOS-CAN-152, TALOS-CAN-154 Notes: svn path=/vendor/libarchive/dist/; revision=302037
* Update vendor/libarchive/dist to git commit 61c56e5 (post 3.2.0)vendor/libarchive/3.2.0Martin Matuska2016-05-1113-244/+466
| | | | | 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-1129-0/+4623
| | | | Notes: svn path=/vendor/libarchive/dist/; revision=299422
* Trim libarchive/dist using FREEBSD-XlistMartin Matuska2016-05-1029-4623/+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-2111-2/+372
| | | | | | | | | | 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-274-15/+52
| | | | | | | | | | | 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 vendor libarchive dist to new "release" branch (post 3.0.3)Martin Matuska2012-02-0814-257/+3048
| | | | | | | | | | Git branch: release Git commit: 9af87742342aa4f37a22ec12c4cc1c82e00ffa2f Obtained from: https://github.com/libarchive/libarchive.git Notes: svn path=/vendor/libarchive/dist/; revision=231200
* Vendor import of libarchive (release/2.8, r3824)Martin Matuska2011-12-2017-0/+1425
Obtained from: http://libarchive.googlecode.com/svn/release/2.8 Notes: svn path=/vendor/libarchive/dist/; revision=228753