HomeFreeBSD

libarchive: merge from vendor branch

Description

libarchive: merge from vendor branch

Update vendor/libarchive to 3.8.2

Important bugfixes:
#2477 tar writer: fix replacing a regular file with a dir for

ARCHIVE_EXTRACT_SAFE_WRITES

#2659 lib: improve filter process handling
#2664 zip writer: fix a memory leak if write callback error early
#2665 lib: archive_read_data: handle sparse holes at end of file correctly
#2668 7zip: Fix out of boundary access
#2670 zip writer: fix writing with ZSTD compression
#2672 lib: fix error checking in writing files
#2678 zstd write filter: enable Zstandard's checksum feature
#2679 lib: handle possible errors from system calls
#2707 lib: avoid leaking file descriptors into subprocesses
#2713 RAR5 reader: fix multiple issues in extra field parsing function
#2716 RAR5 reader: early fail when file declares data for a dir entry
#2717 bsdtar: Allow filename to have CRLF endings
#2719 tar reader: fix checking the result of the strftime (CVE-2025-25724)
#2737 tar reader: fix an infinite loop when parsing V headers
#2742 lib: parse_date: handle dates in 2038 and beyond if time_t is big

enough

Obtained from: libarchive
Vendor commit: 7f53fce04e4e672230f4eb80b219af17975e4f83
Security: CVE-2025-25724
PR: 290303 (exp-run)
MFC after: 1 week

Details

Provenance
mmAuthored on Tue, Oct 21, 2:10 PM
Parents
rGe29f81c2adc1: ata: Add error bits
rG8f38cbcd9c4a: Update vendor/libarchive to 3.8.2
Branches
Unknown
Tags
Unknown