Control: reassign -1 gzip
Control: retitle -1 zcat -t sometimes crashes with heap corruption
Control: tag -1 moreinfo

On Mon, 16 Jul 2018 20:17:13 +0000 (UTC) john terragon <terragonj...@yahoo.com> 
wrote:
[...]
> 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").

The manual page for zcat clearly states that -t does an integrity test.
 If it does not, that's a bug in zcat.

> 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
[...]

Crashing on weird input is a bug in the program that crashes.

Please report which version of gzip is installed.

Ben.

-- 
Ben Hutchings
Logic doesn't apply to the real world. - Marvin Minsky

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to