git: c0b58e65deca - main - libarchive: merge bugfixes from vendor branch

From: Martin Matuska <mm_at_FreeBSD.org>
Date: Tue, 30 Apr 2024 11:57:50 UTC
The branch main has been updated by mm:

URL: https://cgit.FreeBSD.org/src/commit/?id=c0b58e65deca1e5e2c434ede7e64f03af6044be8

commit c0b58e65deca1e5e2c434ede7e64f03af6044be8
Merge: b91f2954bdc9 ed3e9886422f
Author:     Martin Matuska <mm@FreeBSD.org>
AuthorDate: 2024-04-30 09:53:06 +0000
Commit:     Martin Matuska <mm@FreeBSD.org>
CommitDate: 2024-04-30 09:55:01 +0000

    libarchive: merge bugfixes from vendor branch
    
     #2147 archive_string: clean up strncat_from_utf8_to_utf8 (36047967a)
     #2153 archive_match: check archive_read_support_format_raw()
           return value (0ce1b4c38)
     #2154 archive_match: turn counter into flag (287e05d53)
     #2155 lha: Do not allow negative file sizes (93b11caed)
     #2156 tests: setenv LANG to en_US.UTF-8 in bsdunzip test_I.c (83e8b0ea8)
    
    MFC after:      3 days

 contrib/libarchive/libarchive/archive_match.c      | 18 ++--
 .../libarchive/archive_read_support_format_lha.c   |  2 +
 contrib/libarchive/libarchive/archive_string.c     | 96 ++++++++++------------
 contrib/libarchive/unzip/test/test_I.c             |  8 ++
 4 files changed, 61 insertions(+), 63 deletions(-)