Your message dated Fri, 06 Nov 2026 22:19:29 +0000
with message-id <[email protected]>
and subject line Bug#1152654: fixed in libarchive 3.8.11-1
has caused the Debian Bug report #1152654,
regarding zip format fails when reading from stdin
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1152654: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1152654
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libarchive13t64
Version: 3.8.10-2
Severity: normal
Tags: upstream
Control: forwarded -1 https://github.com/libarchive/libarchive/issues/3780
Hi,
this is a bug upstream knows about. I'm filing it here so that I can reference
it in the workaround I will upload for genext2fs until this bug is fixed in
libarchive. Reproducer:
--%<-------------------------------------------------------
#include <archive.h>
#include <archive_entry.h>
int main() {
struct archive_entry *entry;
struct archive *a;
int r;
a = archive_read_new();
if (a == NULL) {
fprintf(stderr, "archive_read_new() failed\n");
return 1;
}
if (archive_read_support_format_tar(a) != ARCHIVE_OK) {
fprintf(stderr, "archive_read_support_format_tar() failed\n");
return 1;
}
if (archive_read_support_format_zip(a) != ARCHIVE_OK) {
fprintf(stderr, "archive_read_support_format_zip() failed\n");
return 1;
}
r = archive_read_open_FILE(a, stdin);
if (r) {
fprintf(stderr, "archive_read_open_FILE() failed\n");
return 1;
}
r = archive_read_next_header(a, &entry);
if (r == ARCHIVE_EOF) {
fprintf(stderr, "ARCHIVE_EOF -- success!\n");
return 0;
}
if (r != ARCHIVE_OK) {
fprintf(stderr, "archive_read_next_header() failed: %s\n",
archive_error_string(a));
return 1;
}
return 0;
}
-->%-------------------------------------------------------
$ dd if=/dev/zero bs=10240 count=1 status=none | ./a.out
archive_read_next_header() failed: Truncated tar archive detected while reading
next header
The above will work if archive_read_support_format_zip is commented out, so
in genext2fs I will just limit the input formats to tar to work around this
issue.
More details in the referenced upstream issue.
Thanks!
cheers, josch
--- End Message ---
--- Begin Message ---
Source: libarchive
Source-Version: 3.8.11-1
Done: Syed Shahrukh Hussain <[email protected]>
We believe that the bug you reported is fixed in the latest version of
libarchive, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Syed Shahrukh Hussain <[email protected]> (supplier of updated
libarchive package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 6 Nov 2026 22:21:11 +0500
Source: libarchive
Architecture: source
Version: 3.8.11-1
Distribution: unstable
Urgency: medium
Maintainer: Gabriel Barrantes <[email protected]>
Changed-By: Syed Shahrukh Hussain <[email protected]>
Closes: 1152654
Changes:
libarchive (3.8.11-1) unstable; urgency=medium
.
* New upstream version 3.8.11 (Closes: #1152654).
Checksums-Sha1:
44b266351b4f18cafc96247012a072d216b88a6e 2665 libarchive_3.8.11-1.dsc
e6f17c9ce0c40f2aeb24862aaace03367fce4ba3 6754236 libarchive_3.8.11.orig.tar.xz
d42b7623fb306636772897002a6f03ddbeba0505 833 libarchive_3.8.11.orig.tar.xz.asc
a1bce19ce059e1b4b353cad963b87284cd56f322 25384
libarchive_3.8.11-1.debian.tar.xz
b1601e045628ae9b7679f810076f04d36014ef23 7757
libarchive_3.8.11-1_amd64.buildinfo
Checksums-Sha256:
a0079276eb84d7a56b759b69334beaa416ee76b108b2894f5464cd2ee42132c6 2665
libarchive_3.8.11-1.dsc
a3dc0872b1b39da34dc18ef1b944f0f11ffd37425d70ae04be679279f1cf43d2 6754236
libarchive_3.8.11.orig.tar.xz
213454cb6fc0eaef398803226f05ce9bfb63206fa81281ce84334918ecd5bf02 833
libarchive_3.8.11.orig.tar.xz.asc
dd6ce5b973274f8fb976adc029ac51db72f3090bc5aae2fca6d7381b668341d5 25384
libarchive_3.8.11-1.debian.tar.xz
509cf8c9a895eeaf9eb1eb589359eb8ca8b4353b5bf32030fb42746afbbf5e20 7757
libarchive_3.8.11-1_amd64.buildinfo
Files:
a2acac5b6ddf47ceaab9a8a79b97da7e 2665 libs optional libarchive_3.8.11-1.dsc
06cd808c8b79ec02fa580e305eede08f 6754236 libs optional
libarchive_3.8.11.orig.tar.xz
2093a0ae3e88776a59f78efdca32aa50 833 libs optional
libarchive_3.8.11.orig.tar.xz.asc
286a615054d2a1e23b63f7827fb280b5 25384 libs optional
libarchive_3.8.11-1.debian.tar.xz
b13276f26533a02484476f472213b0d2 7757 libs optional
libarchive_3.8.11-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEljcSQ3PBMBm+EUvM62KxBX3nqLEFAmruTAgACgkQ62KxBX3n
qLFQtQ//X0uPUjBATfKS8aSBpfhXWaMUClXWrsmfaQVDOidlf2orG7UdrNJnQdvi
g7oJZuJEfyMx0ZW9BwldwPnYpEoJ1fO96fHhReER06rz5SeTZ1d1t//1/gDJvRN5
MxxNrvLTh9ncGJrPw/Ix4yswFuzNsnYFFb1rIYGg2c5bu1MC8gqmxNlsXlrEl/QE
7iRdeFox/9RQOcwMbgZW07sX2jn+MrwNjzWAC3rDm1t3sTWoEuzxOzCFrtvbeX4i
rdlYwb5f7tt6Cvz7lxcxxwYt44exP7/72+hGzWu6T4BFjSYAKJkaY4olnpr8qwxs
X44xtQbMjvVoeO1N8BygB3YBGnN1BCQKLi6bqs0zr7N6HsYuR2XpXiwkvB6mikGe
vuvmUpUeQ04y3sq5qqg9QTjNYdmuMbpW1yOjQa8zsxweNLgXmTTkS/6KyxU5wTev
6fdiG3lWDsL92kBnfmMwFDlXAB2GI0Ldso0AQSUHkE90xbi44TX316g5EneIUnhG
AHOp01/oGodB6RWG1fAD5CSoDuj6LUWvrOtAnVi1b9gW2PX5gvQXP/lcaSBno3Eh
rqQcd1aZvBEqKmDWrzg6vfds2XRbLhtQCqX9Wb8k9EUXMA+fKWHe41eBLC27nAPF
PClDJHngmdNVidG98jcHLwi2/aPRcS4qIA5UPk0/oR9vCXARGEU=
=qM3a
-----END PGP SIGNATURE-----
pgpwDwJ0rbg4l.pgp
Description: PGP signature
--- End Message ---