XZ embedded bug unpacking linux-3.8.tar.xz (was: Re: tar: short read on linux-3.8.tar.xz)
Denys Vlasenko
vda.linux at googlemail.com
Thu Feb 28 17:08:11 UTC 2013
On Thu, Feb 28, 2013 at 10:36 AM, Harald Becker <ralda at gmx.de> wrote:
> ... just as it would be nice to have a single zcat able to detect the
> format and decompress ANY compressed stream (falling back to operation
> of cat, if uncompressed data given to zcat). With a generalized
> uncompress to do "zcat file >temp"; then rename temp and mangle name
> extensions" (like gunzip).
This will cost you 99 bytes:
commit 8e96efa32314ec5a4e6ace9a6fe7a1694e2e7d90
Author: Denys Vlasenko <vda.linux at googlemail.com>
Date: Thu Feb 28 18:06:09 2013 +0100
zcat: if seamless uncompressors are defined, autodetect file's format
function old new delta
bbunpack 526 622 +96
gunzip_main 64 67 +3
More information about the busybox
mailing list