vendor/libarchive: upgrade from 3.3.3 to 3.4.3 vendor/LIBARCHIVE
authorDaniel Fojt <df@neosystem.org>
Sat, 27 Jun 2020 10:18:46 +0000 (12:18 +0200)
committerDaniel Fojt <df@neosystem.org>
Sat, 27 Jun 2020 10:18:46 +0000 (12:18 +0200)
commit085658de3b7b6902c031532118aeb6a4246171ae
tree1c90e46185e662b50bd1cecd1cee25311af38377
parente95abc476b80ab0f6041c0123580ca7eee767083
vendor/libarchive: upgrade from 3.3.3 to 3.4.3

Fixes CVE-2019-18408.

New features:
- support for pzstd compressed files
- support for RHT.security.selinux tar extended attribute
- atomic file extraction support (bsdtar -x --safe-writes)
- unicode filename support for reading lha/lzh archives
- new pax write option "xattrhdr"
- read support for RAR 5.0 archives
- read support for ZIPX archives with xz, lzma, ppmd8 and bzip2
  compression
- support for non-recursive list and extract
- new tar option: --exclude-vcs
- 64-bit ar format support

Bugfixes:
- use-after-free in a certain ARCHIVE_FAILED situation
- various zstd fixes and improvements
- child process handling fixes
- compression buffer fix in XAR writer
- fix for uname and gname longer than 32 characters in PAX writer
- fix segfault when archiving hard links in ISO9660 and XAR writers
- fix support for extracting 7z archive entries with Delta filter
- security fixes and optimizations to write filter logic
- security fix related to use of readlink(2)
- sparse file handling fixes
- fix reading Android APK archives
- fix problems related to unreadable directories
- patches from OpenBSD to libarchive_fe/passphrase.c
- support extracting ACLs with in-entry comments
- support extracting extattrs as non-root on non-user-writable files
- various resource leak, use-after-free and crash fixes

For details, see release notes or commit history on github:
https://github.com/libarchive/libarchive/wiki/ReleaseNotes
160 files changed:
contrib/libarchive/COPYING
contrib/libarchive/NEWS
contrib/libarchive/cat/bsdcat.1
contrib/libarchive/cat/bsdcat.h
contrib/libarchive/cpio/bsdcpio.1
contrib/libarchive/cpio/cpio.c
contrib/libarchive/cpio/cpio.h
contrib/libarchive/libarchive/archive.h
contrib/libarchive/libarchive/archive_acl.c
contrib/libarchive/libarchive/archive_acl_private.h
contrib/libarchive/libarchive/archive_blake2.h [new file with mode: 0644]
contrib/libarchive/libarchive/archive_blake2_impl.h [new file with mode: 0644]
contrib/libarchive/libarchive/archive_blake2s_ref.c [new file with mode: 0644]
contrib/libarchive/libarchive/archive_blake2sp_ref.c [new file with mode: 0644]
contrib/libarchive/libarchive/archive_cmdline_private.h
contrib/libarchive/libarchive/archive_cryptor.c
contrib/libarchive/libarchive/archive_cryptor_private.h
contrib/libarchive/libarchive/archive_digest.c
contrib/libarchive/libarchive/archive_digest_private.h
contrib/libarchive/libarchive/archive_endian.h
contrib/libarchive/libarchive/archive_entry.3
contrib/libarchive/libarchive/archive_entry.c
contrib/libarchive/libarchive/archive_entry.h
contrib/libarchive/libarchive/archive_entry_acl.3
contrib/libarchive/libarchive/archive_entry_locale.h
contrib/libarchive/libarchive/archive_entry_misc.3 [copied from contrib/libarchive/libarchive/archive_write_set_passphrase.3 with 58% similarity]
contrib/libarchive/libarchive/archive_entry_paths.3
contrib/libarchive/libarchive/archive_entry_perms.3
contrib/libarchive/libarchive/archive_entry_private.h
contrib/libarchive/libarchive/archive_entry_stat.3
contrib/libarchive/libarchive/archive_entry_time.3
contrib/libarchive/libarchive/archive_getdate.c
contrib/libarchive/libarchive/archive_getdate.h
contrib/libarchive/libarchive/archive_hmac.c
contrib/libarchive/libarchive/archive_hmac_private.h
contrib/libarchive/libarchive/archive_match.c
contrib/libarchive/libarchive/archive_openssl_evp_private.h
contrib/libarchive/libarchive/archive_openssl_hmac_private.h
contrib/libarchive/libarchive/archive_options_private.h
contrib/libarchive/libarchive/archive_pack_dev.c
contrib/libarchive/libarchive/archive_pack_dev.h
contrib/libarchive/libarchive/archive_pathmatch.h
contrib/libarchive/libarchive/archive_platform.h
contrib/libarchive/libarchive/archive_platform_acl.h
contrib/libarchive/libarchive/archive_ppmd7.c
contrib/libarchive/libarchive/archive_ppmd7_private.h
contrib/libarchive/libarchive/archive_ppmd8.c [new file with mode: 0644]
contrib/libarchive/libarchive/archive_ppmd8_private.h [new file with mode: 0644]
contrib/libarchive/libarchive/archive_ppmd_private.h
contrib/libarchive/libarchive/archive_private.h
contrib/libarchive/libarchive/archive_random_private.h
contrib/libarchive/libarchive/archive_rb.h
contrib/libarchive/libarchive/archive_read.3
contrib/libarchive/libarchive/archive_read.c
contrib/libarchive/libarchive/archive_read_add_passphrase.3
contrib/libarchive/libarchive/archive_read_add_passphrase.c
contrib/libarchive/libarchive/archive_read_data.3
contrib/libarchive/libarchive/archive_read_disk.3
contrib/libarchive/libarchive/archive_read_disk_entry_from_file.c
contrib/libarchive/libarchive/archive_read_disk_posix.c
contrib/libarchive/libarchive/archive_read_disk_private.h
contrib/libarchive/libarchive/archive_read_extract.3
contrib/libarchive/libarchive/archive_read_filter.3
contrib/libarchive/libarchive/archive_read_format.3
contrib/libarchive/libarchive/archive_read_free.3
contrib/libarchive/libarchive/archive_read_header.3
contrib/libarchive/libarchive/archive_read_new.3
contrib/libarchive/libarchive/archive_read_open.3
contrib/libarchive/libarchive/archive_read_open_file.c
contrib/libarchive/libarchive/archive_read_open_filename.c
contrib/libarchive/libarchive/archive_read_private.h
contrib/libarchive/libarchive/archive_read_set_format.c
contrib/libarchive/libarchive/archive_read_set_options.3
contrib/libarchive/libarchive/archive_read_support_filter_gzip.c
contrib/libarchive/libarchive/archive_read_support_filter_lz4.c
contrib/libarchive/libarchive/archive_read_support_filter_program.c
contrib/libarchive/libarchive/archive_read_support_filter_uu.c
contrib/libarchive/libarchive/archive_read_support_filter_zstd.c
contrib/libarchive/libarchive/archive_read_support_format_7zip.c
contrib/libarchive/libarchive/archive_read_support_format_all.c
contrib/libarchive/libarchive/archive_read_support_format_ar.c
contrib/libarchive/libarchive/archive_read_support_format_by_code.c
contrib/libarchive/libarchive/archive_read_support_format_cab.c
contrib/libarchive/libarchive/archive_read_support_format_cpio.c
contrib/libarchive/libarchive/archive_read_support_format_iso9660.c
contrib/libarchive/libarchive/archive_read_support_format_lha.c
contrib/libarchive/libarchive/archive_read_support_format_mtree.c
contrib/libarchive/libarchive/archive_read_support_format_rar.c
contrib/libarchive/libarchive/archive_read_support_format_rar5.c [new file with mode: 0644]
contrib/libarchive/libarchive/archive_read_support_format_raw.c
contrib/libarchive/libarchive/archive_read_support_format_tar.c
contrib/libarchive/libarchive/archive_read_support_format_warc.c
contrib/libarchive/libarchive/archive_read_support_format_xar.c
contrib/libarchive/libarchive/archive_read_support_format_zip.c
contrib/libarchive/libarchive/archive_string.c
contrib/libarchive/libarchive/archive_string.h
contrib/libarchive/libarchive/archive_string_composition.h
contrib/libarchive/libarchive/archive_util.3
contrib/libarchive/libarchive/archive_util.c
contrib/libarchive/libarchive/archive_write.3
contrib/libarchive/libarchive/archive_write.c
contrib/libarchive/libarchive/archive_write_add_filter_b64encode.c
contrib/libarchive/libarchive/archive_write_add_filter_bzip2.c
contrib/libarchive/libarchive/archive_write_add_filter_compress.c
contrib/libarchive/libarchive/archive_write_add_filter_gzip.c
contrib/libarchive/libarchive/archive_write_add_filter_lz4.c
contrib/libarchive/libarchive/archive_write_add_filter_lzop.c
contrib/libarchive/libarchive/archive_write_add_filter_program.c
contrib/libarchive/libarchive/archive_write_add_filter_uuencode.c
contrib/libarchive/libarchive/archive_write_add_filter_xz.c
contrib/libarchive/libarchive/archive_write_add_filter_zstd.c
contrib/libarchive/libarchive/archive_write_blocksize.3
contrib/libarchive/libarchive/archive_write_data.3
contrib/libarchive/libarchive/archive_write_disk.3
contrib/libarchive/libarchive/archive_write_disk_posix.c
contrib/libarchive/libarchive/archive_write_disk_private.h
contrib/libarchive/libarchive/archive_write_disk_set_standard_lookup.c
contrib/libarchive/libarchive/archive_write_filter.3
contrib/libarchive/libarchive/archive_write_finish_entry.3
contrib/libarchive/libarchive/archive_write_format.3
contrib/libarchive/libarchive/archive_write_free.3
contrib/libarchive/libarchive/archive_write_header.3
contrib/libarchive/libarchive/archive_write_new.3
contrib/libarchive/libarchive/archive_write_open.3
contrib/libarchive/libarchive/archive_write_private.h
contrib/libarchive/libarchive/archive_write_set_format.c
contrib/libarchive/libarchive/archive_write_set_format_7zip.c
contrib/libarchive/libarchive/archive_write_set_format_ar.c
contrib/libarchive/libarchive/archive_write_set_format_cpio.c
contrib/libarchive/libarchive/archive_write_set_format_cpio_newc.c
contrib/libarchive/libarchive/archive_write_set_format_gnutar.c
contrib/libarchive/libarchive/archive_write_set_format_iso9660.c
contrib/libarchive/libarchive/archive_write_set_format_mtree.c
contrib/libarchive/libarchive/archive_write_set_format_pax.c
contrib/libarchive/libarchive/archive_write_set_format_private.h [copied from contrib/libarchive/libarchive/archive_getdate.h with 80% similarity]
contrib/libarchive/libarchive/archive_write_set_format_shar.c
contrib/libarchive/libarchive/archive_write_set_format_ustar.c
contrib/libarchive/libarchive/archive_write_set_format_v7tar.c
contrib/libarchive/libarchive/archive_write_set_format_warc.c
contrib/libarchive/libarchive/archive_write_set_format_xar.c
contrib/libarchive/libarchive/archive_write_set_format_zip.c
contrib/libarchive/libarchive/archive_write_set_options.3
contrib/libarchive/libarchive/archive_write_set_passphrase.3
contrib/libarchive/libarchive/archive_xxhash.h
contrib/libarchive/libarchive/cpio.5
contrib/libarchive/libarchive/filter_fork.h
contrib/libarchive/libarchive/filter_fork_posix.c
contrib/libarchive/libarchive/libarchive_changes.3
contrib/libarchive/libarchive/libarchive_internals.3
contrib/libarchive/libarchive/mtree.5
contrib/libarchive/libarchive/tar.5
contrib/libarchive/libarchive_fe/err.h
contrib/libarchive/libarchive_fe/line_reader.c
contrib/libarchive/libarchive_fe/passphrase.c
contrib/libarchive/tar/bsdtar.1
contrib/libarchive/tar/bsdtar.c
contrib/libarchive/tar/bsdtar.h
contrib/libarchive/tar/cmdline.c
contrib/libarchive/tar/util.c
contrib/libarchive/tar/write.c