commit aba784e9dc778e0793dd65dc086e7224df39a88a
Author: Johannes Schauer Marin Rodrigues <josch@debian.org>
Date: Sun Oct 25 19:32:04 2026 +0100
cherry-pick upstream patch from master branch, a fixup for a cherry-picked fix for a use-after-free bug
Without this fix, empty tar archives as well as zip archives cannot be
read. Reproducers:
$ dd if=/dev/zero bs=10240 count=1 status=none | bsdtar tf -
bsdtar: Truncated tar archive detected while reading next header
bsdtar: Error exit delayed from previous errors
$ cat test.zip | bsdtar tf -
bsdtar: (null)
bsdtar: Error exit delayed from previous errors
Origin: https://github.com/libarchive/libarchive/pull/3650
Link: https://github.com/libarchive/libarchive/pull/3394
Link: https://github.com/libarchive/libarchive/pull/3768
Bug: https://github.com/libarchive/libarchive/issues/3767
Closes: #1152028
There are 4 open security issues in trixie.
You can find information about how to handle these issues in the security team's documentation.