Your message dated Wed, 25 Jul 2018 09:35:39 +0000
with message-id <e1figcp-0008o3...@fasolo.debian.org>
and subject line Bug#903931: fixed in zutils 1.7-2
has caused the Debian Bug report #903931,
regarding zcat -t sometimes crashes with heap corruption
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 ow...@bugs.debian.org
immediately.)


-- 
903931: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=903931
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: initramfs-tools-core

Version: 0.130

Severity: normal




--- Please enter the report below this line. ---







The following code fragment is in the xcpio() function of 
unmkinitramfsunmkinitramfs:

if zcat -t "$archive" >/dev/null 2>&1 ; then
                zcat "$archive"
        elif xzcat -t "$archive" >/dev/null 2>&1 ; then
                xzcat "$archive"
        elif bzip2 -t "$archive" >/dev/null 2>&1 ; then
                bzip2 -c -d "$archive"
        elif lzop -t "$archive" >/dev/null 2>&1 ; then
                lzop -c -d "$archive"



the -t flag used with zcat does not have the same meaning it had with the other 
programs, xzcat, bzip2 and lzop. With the latter it
means "just do  a test" with the former it is equivalent to -vT (neither -v nor 
-T means "test"). Now, this causes a strange and
unpredictable behavior of unmkinitramfs (and of lsinitramfs, which uses 
unmkinitramfs) where for some, not all, initrd files it just aborts its 
operations with this

free(): invalid next size (normal)

Aborted



Notice that even when it aborts, the "guilty" initrd file is perfectly fine and 
it can uncrompressed with gunzip or with zcat (without the -t, which, again, it 
is not the flag for testing the input file).

Solution: remove the -t from "if zcat -t "$archive" >/dev/null 2>&1 ;"




--- System information. ---

Architecture: 

Kernel: Linux 4.17.4-cu5




Debian Release: buster/sid

 500 unstable ftp.debian.org 

 500 testing ftp.debian.org 

 500 stable ftp.debian.org 

 500 oldstable ftp.debian.org 

 500 oldoldstable ftp.debian.org 

 1 experimental ftp.debian.org 




--- Package information. ---

Depends (Version) | Installed

===================================-+-==============

klibc-utils (>= 2.0.4-8~) | 2.0.4-11

cpio | 2.12+dfsg-6

kmod | 25-1

 OR module-init-tools | 20-1

udev | 239-5







Recommends (Version) | Installed

=====================================-+-===================

busybox (>= 1:1.22.0-17~) | 1:1.27.2-2

 OR busybox-static (>= 1:1.22.0-17~) | 







Suggests (Version) | Installed

==============================-+-===========

bash-completion | 1:2.8-1

--- End Message ---
--- Begin Message ---
Source: zutils
Source-Version: 1.7-2

We believe that the bug you reported is fixed in the latest version of
zutils, 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 903...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Baumann <daniel.baum...@progress-linux.org> (supplier of updated zutils 
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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 19 Jul 2018 07:24:16 +0200
Source: zutils
Binary: zutils
Architecture: source amd64
Version: 1.7-2
Distribution: unstable
Urgency: medium
Maintainer: Daniel Baumann <daniel.baum...@progress-linux.org>
Changed-By: Daniel Baumann <daniel.baum...@progress-linux.org>
Description:
 zutils     - utilities for dealing with compressed files transparently
Closes: 902936 903931
Changes:
 zutils (1.7-2) unstable; urgency=medium
 .
   * Uploading to sid.
   * Updating to standards version 4.1.5.
   * Skipping zcat for now (Closes: #902936, #903931).
Checksums-Sha1:
 b6c255e85c276fc50bb01f9d644cd93680542cc9 1901 zutils_1.7-2.dsc
 79a215826832bab27020735f83a59c6d84d284c4 6428 zutils_1.7-2.debian.tar.xz
 0ca40d2e2d17d7e34b23789365578ff5e951ee4e 1283576 zutils-dbgsym_1.7-2_amd64.deb
 19a924e8d000f8723ce6f1ab9f7aad921c9cf356 6133 zutils_1.7-2_amd64.buildinfo
 93b079f09c1588851ac84f30a8d21b3dc91b8bb7 466780 zutils_1.7-2_amd64.deb
Checksums-Sha256:
 90be64ac1683ff32fac03e3a839f3079bbe2bf70560682ddb7f1ee8f8daceee8 1901 
zutils_1.7-2.dsc
 ea5b81e1030a3c894fac91104afc6c405f182da3b20025e56d3b01b6037ef050 6428 
zutils_1.7-2.debian.tar.xz
 bdb84d97a3ac29acda1e38460ed2565cf915de51091df7d489db052d3d575e62 1283576 
zutils-dbgsym_1.7-2_amd64.deb
 910eb14d4a80071790560268f098850393b765ba41088cc4de3c468e68b58449 6133 
zutils_1.7-2_amd64.buildinfo
 dc2b8e7ecc026768514ab0cb22cd021c70015e8ef278616960b93233bf4327f0 466780 
zutils_1.7-2_amd64.deb
Files:
 b667c6e07c695524be3a0edacd6626c5 1901 utils optional zutils_1.7-2.dsc
 edbd4c5419bda87a7ac96659d65ecd59 6428 utils optional zutils_1.7-2.debian.tar.xz
 d4a4ea3cb298cb91c781ec9dd1ef9517 1283576 debug optional 
zutils-dbgsym_1.7-2_amd64.deb
 645ab0d607f370b38c4baa0d2aacd192 6133 utils optional 
zutils_1.7-2_amd64.buildinfo
 c9479d612cbd5c2c7f1ed7dba3c77b3b 466780 utils optional zutils_1.7-2_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEgTbtJcfWfpLHSkKSVc8b+YaruccFAltYOVkACgkQVc8b+Yar
ucdDAxAAn7a+dJv/i9w/30OE3AASD83DmEfHIwI/XrrzDdnz4koQp35Nfo7Hp9O8
e647Ff+i9hearrf53t2ivK24YxQuxk5/GCRgz8CyJoblVuCtlg/2dOekV9BflDij
s0MkO1EOyxXfaRFDm6UsrAkhuFZLHAGbMjQ9uDcCfRZMBkvZOdxaKLxHmi2B0TpC
9T6c/5Qc9DL2xzwhLiEIP03YlvCQO8uOt5t1uR/+ZsW6qcEr3yQchmYqTI5m96Pb
lQkODb0Ay2Edd1yCkpudR0kl2ltJ4HOOCmQWW9kF6NnRyfq33V4bPH9Iotcuvw7c
e8zd+WvlAUY7UL/tAyHLc7QRUdzZ9t+m31Xm0wCJy3uinz1kodehBYMBIVajhGCi
BoBWLa7s5z8Q6ikKim0uWIVyC31i4jzgQ416o0ewW6++STZfeqDjMcAwoDB6iU8N
zVEag3kTrT/TR8jSagBkJS086Y3RFNhpxNwcJ3uufYx9amTOnWBRzUBxTS7zI+VB
ZPHTcszMH7Rwa/58G5Ktub+GYsSzaBeTpTSdOj7TamMUI7XdaOOLBnCZSu4QLRZ/
ZS8pfbLMjJN80/rZwB0M6EsTSZZEeieeTfC8wMxi6DdYhQ/VqgPZX1frmZjFjDr4
VPoqEvgqgLHaXHVA1wQb4fWX59lBJGDXiI2gF9CcT6hwsBlFe2k=
=T8SN
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to