git: vendor/LIBARCHIVE vendor/libarchive: upgrade from 3.3.3 to 3.4.3

Daniel Fojt deef at crater.dragonflybsd.org
Sat Jun 27 03:27:45 PDT 2020


commit 085658de3b7b6902c031532118aeb6a4246171ae
Author: Daniel Fojt <df at neosystem.org>
Date:   Sat Jun 27 12:18:46 2020 +0200

    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

Summary of changes:
 contrib/libarchive/COPYING                         |    9 +-
 contrib/libarchive/NEWS                            |   36 +
 contrib/libarchive/cat/bsdcat.1                    |   11 +-
 contrib/libarchive/cat/bsdcat.h                    |    5 +
 contrib/libarchive/cpio/bsdcpio.1                  |    3 +-
 contrib/libarchive/cpio/cpio.c                     |   56 +-
 contrib/libarchive/cpio/cpio.h                     |    1 +
 contrib/libarchive/libarchive/archive.h            |   12 +-
 contrib/libarchive/libarchive/archive_acl.c        |   88 +-
 .../libarchive/libarchive/archive_acl_private.h    |    6 +-
 contrib/libarchive/libarchive/archive_blake2.h     |  195 +
 .../libarchive/libarchive/archive_blake2_impl.h    |  161 +
 .../libarchive/libarchive/archive_blake2s_ref.c    |  367 ++
 .../libarchive/libarchive/archive_blake2sp_ref.c   |  359 ++
 .../libarchive/archive_cmdline_private.h           |    6 +-
 contrib/libarchive/libarchive/archive_cryptor.c    |   69 +
 .../libarchive/archive_cryptor_private.h           |   24 +-
 contrib/libarchive/libarchive/archive_digest.c     |  678 ++--
 .../libarchive/libarchive/archive_digest_private.h |   43 +-
 contrib/libarchive/libarchive/archive_endian.h     |   11 +-
 contrib/libarchive/libarchive/archive_entry.3      |    7 +-
 contrib/libarchive/libarchive/archive_entry.c      |  324 +-
 contrib/libarchive/libarchive/archive_entry.h      |   15 +-
 contrib/libarchive/libarchive/archive_entry_acl.3  |   80 +-
 .../libarchive/libarchive/archive_entry_locale.h   |    6 +-
 ...write_set_passphrase.3 => archive_entry_misc.3} |   73 +-
 .../libarchive/libarchive/archive_entry_paths.3    |   10 +-
 .../libarchive/libarchive/archive_entry_perms.3    |   12 +-
 .../libarchive/libarchive/archive_entry_private.h  |    9 +-
 contrib/libarchive/libarchive/archive_entry_stat.3 |   10 +-
 contrib/libarchive/libarchive/archive_entry_time.3 |    6 +-
 contrib/libarchive/libarchive/archive_getdate.c    |  149 +-
 contrib/libarchive/libarchive/archive_getdate.h    |    6 +-
 contrib/libarchive/libarchive/archive_hmac.c       |   51 +
 .../libarchive/libarchive/archive_hmac_private.h   |   12 +-
 contrib/libarchive/libarchive/archive_match.c      |   33 +-
 .../libarchive/archive_openssl_evp_private.h       |    5 +
 .../libarchive/archive_openssl_hmac_private.h      |    5 +
 .../libarchive/archive_options_private.h           |    4 +
 contrib/libarchive/libarchive/archive_pack_dev.c   |    6 +-
 contrib/libarchive/libarchive/archive_pack_dev.h   |    6 +-
 contrib/libarchive/libarchive/archive_pathmatch.h  |    6 +-
 contrib/libarchive/libarchive/archive_platform.h   |    2 +
 .../libarchive/libarchive/archive_platform_acl.h   |    6 +
 contrib/libarchive/libarchive/archive_ppmd7.c      |    2 +-
 .../libarchive/libarchive/archive_ppmd7_private.h  |    6 +-
 contrib/libarchive/libarchive/archive_ppmd8.c      | 1287 ++++++
 .../libarchive/libarchive/archive_ppmd8_private.h  |  148 +
 .../libarchive/libarchive/archive_ppmd_private.h   |    6 +-
 contrib/libarchive/libarchive/archive_private.h    |   11 +-
 .../libarchive/libarchive/archive_random_private.h |    6 +-
 contrib/libarchive/libarchive/archive_rb.h         |   21 +-
 contrib/libarchive/libarchive/archive_read.3       |    6 +-
 contrib/libarchive/libarchive/archive_read.c       |   31 +-
 .../libarchive/archive_read_add_passphrase.3       |   10 +-
 .../libarchive/archive_read_add_passphrase.c       |    4 +
 contrib/libarchive/libarchive/archive_read_data.3  |    4 +-
 contrib/libarchive/libarchive/archive_read_disk.3  |   13 +-
 .../libarchive/archive_read_disk_entry_from_file.c |   11 +-
 .../libarchive/archive_read_disk_posix.c           |  159 +-
 .../libarchive/archive_read_disk_private.h         |    6 +-
 .../libarchive/libarchive/archive_read_extract.3   |    2 +-
 .../libarchive/libarchive/archive_read_filter.3    |    4 +-
 .../libarchive/libarchive/archive_read_format.3    |    6 +-
 contrib/libarchive/libarchive/archive_read_free.3  |    6 +-
 .../libarchive/libarchive/archive_read_header.3    |    2 +-
 contrib/libarchive/libarchive/archive_read_new.3   |    2 +-
 contrib/libarchive/libarchive/archive_read_open.3  |    4 +-
 .../libarchive/libarchive/archive_read_open_file.c |    3 +-
 .../libarchive/archive_read_open_filename.c        |    4 +
 .../libarchive/libarchive/archive_read_private.h   |    9 +-
 .../libarchive/archive_read_set_format.c           |    3 +
 .../libarchive/archive_read_set_options.3          |   41 +-
 .../libarchive/archive_read_support_filter_gzip.c  |   70 +-
 .../libarchive/archive_read_support_filter_lz4.c   |   10 +-
 .../archive_read_support_filter_program.c          |   23 +-
 .../libarchive/archive_read_support_filter_uu.c    |   30 +-
 .../libarchive/archive_read_support_filter_zstd.c  |    4 +
 .../libarchive/archive_read_support_format_7zip.c  |   22 +-
 .../libarchive/archive_read_support_format_all.c   |    1 +
 .../libarchive/archive_read_support_format_ar.c    |    9 +-
 .../archive_read_support_format_by_code.c          |    3 +
 .../libarchive/archive_read_support_format_cab.c   |    4 +-
 .../libarchive/archive_read_support_format_cpio.c  |    3 +-
 .../archive_read_support_format_iso9660.c          |   17 +-
 .../libarchive/archive_read_support_format_lha.c   |  206 +-
 .../libarchive/archive_read_support_format_mtree.c |   16 +-
 .../libarchive/archive_read_support_format_rar.c   |   88 +-
 .../libarchive/archive_read_support_format_rar5.c  | 4097 ++++++++++++++++++++
 .../libarchive/archive_read_support_format_raw.c   |    4 +-
 .../libarchive/archive_read_support_format_tar.c   |   47 +-
 .../libarchive/archive_read_support_format_warc.c  |   11 +-
 .../libarchive/archive_read_support_format_xar.c   |   77 +-
 .../libarchive/archive_read_support_format_zip.c   | 1083 +++++-
 contrib/libarchive/libarchive/archive_string.c     |   52 +-
 contrib/libarchive/libarchive/archive_string.h     |    6 +-
 .../libarchive/archive_string_composition.h        |    6 +-
 contrib/libarchive/libarchive/archive_util.3       |   16 +-
 contrib/libarchive/libarchive/archive_util.c       |  231 +-
 contrib/libarchive/libarchive/archive_write.3      |    6 +-
 contrib/libarchive/libarchive/archive_write.c      |   91 +-
 .../archive_write_add_filter_b64encode.c           |   22 +-
 .../libarchive/archive_write_add_filter_bzip2.c    |   10 +-
 .../libarchive/archive_write_add_filter_compress.c |   22 +-
 .../libarchive/archive_write_add_filter_gzip.c     |    9 +-
 .../libarchive/archive_write_add_filter_lz4.c      |   11 +-
 .../libarchive/archive_write_add_filter_lzop.c     |   10 +-
 .../libarchive/archive_write_add_filter_program.c  |   36 +-
 .../libarchive/archive_write_add_filter_uuencode.c |   12 +-
 .../libarchive/archive_write_add_filter_xz.c       |   16 +-
 .../libarchive/archive_write_add_filter_zstd.c     |   91 +-
 .../libarchive/archive_write_blocksize.3           |    2 +-
 contrib/libarchive/libarchive/archive_write_data.3 |    2 +-
 contrib/libarchive/libarchive/archive_write_disk.3 |   12 +-
 .../libarchive/archive_write_disk_posix.c          |  425 +-
 .../libarchive/archive_write_disk_private.h        |    6 +-
 .../archive_write_disk_set_standard_lookup.c       |    6 +-
 .../libarchive/libarchive/archive_write_filter.3   |    4 +-
 .../libarchive/archive_write_finish_entry.3        |    2 +-
 .../libarchive/libarchive/archive_write_format.3   |    4 +-
 contrib/libarchive/libarchive/archive_write_free.3 |    4 +-
 .../libarchive/libarchive/archive_write_header.3   |    2 +-
 contrib/libarchive/libarchive/archive_write_new.3  |    2 +-
 contrib/libarchive/libarchive/archive_write_open.3 |    4 +-
 .../libarchive/libarchive/archive_write_private.h  |   14 +-
 .../libarchive/archive_write_set_format.c          |   45 +
 .../libarchive/archive_write_set_format_7zip.c     |    6 +-
 .../libarchive/archive_write_set_format_ar.c       |    6 +
 .../libarchive/archive_write_set_format_cpio.c     |    4 +-
 .../archive_write_set_format_cpio_newc.c           |    4 +-
 .../libarchive/archive_write_set_format_gnutar.c   |   20 +-
 .../libarchive/archive_write_set_format_iso9660.c  |   32 +-
 .../libarchive/archive_write_set_format_mtree.c    |   20 +-
 .../libarchive/archive_write_set_format_pax.c      |  145 +-
 ...etdate.h => archive_write_set_format_private.h} |   17 +-
 .../libarchive/archive_write_set_format_shar.c     |   11 +-
 .../libarchive/archive_write_set_format_ustar.c    |   39 +-
 .../libarchive/archive_write_set_format_v7tar.c    |   40 +-
 .../libarchive/archive_write_set_format_warc.c     |   18 +-
 .../libarchive/archive_write_set_format_xar.c      |   83 +-
 .../libarchive/archive_write_set_format_zip.c      |   47 +-
 .../libarchive/archive_write_set_options.3         |  286 +-
 .../libarchive/archive_write_set_passphrase.3      |   12 +-
 contrib/libarchive/libarchive/archive_xxhash.h     |    5 +-
 contrib/libarchive/libarchive/cpio.5               |    2 +-
 contrib/libarchive/libarchive/filter_fork.h        |   15 +-
 contrib/libarchive/libarchive/filter_fork_posix.c  |   10 +-
 contrib/libarchive/libarchive/libarchive_changes.3 |    5 +-
 .../libarchive/libarchive/libarchive_internals.3   |    4 +-
 contrib/libarchive/libarchive/mtree.5              |    7 +-
 contrib/libarchive/libarchive/tar.5                |    9 +-
 contrib/libarchive/libarchive_fe/err.h             |    9 +-
 contrib/libarchive/libarchive_fe/line_reader.c     |    3 +-
 contrib/libarchive/libarchive_fe/passphrase.c      |   95 +-
 contrib/libarchive/tar/bsdtar.1                    |  130 +-
 contrib/libarchive/tar/bsdtar.c                    |   99 +-
 contrib/libarchive/tar/bsdtar.h                    |    8 +
 contrib/libarchive/tar/cmdline.c                   |    3 +
 contrib/libarchive/tar/util.c                      |   22 +-
 contrib/libarchive/tar/write.c                     |   12 +-
 160 files changed, 11186 insertions(+), 1848 deletions(-)
 create mode 100644 contrib/libarchive/libarchive/archive_blake2.h
 create mode 100644 contrib/libarchive/libarchive/archive_blake2_impl.h
 create mode 100644 contrib/libarchive/libarchive/archive_blake2s_ref.c
 create mode 100644 contrib/libarchive/libarchive/archive_blake2sp_ref.c
 copy contrib/libarchive/libarchive/{archive_write_set_passphrase.3 => archive_entry_misc.3} (58%)
 create mode 100644 contrib/libarchive/libarchive/archive_ppmd8.c
 create mode 100644 contrib/libarchive/libarchive/archive_ppmd8_private.h
 create mode 100644 contrib/libarchive/libarchive/archive_read_support_format_rar5.c
 copy contrib/libarchive/libarchive/{archive_getdate.h => archive_write_set_format_private.h} (80%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/085658de3b7b6902c031532118aeb6a4246171ae


-- 
DragonFly BSD source repository



More information about the Commits mailing list