bug-gzip
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gzip 1.3.13 still displays a wrong uncompressed file size


From: Reinhold Patzer
Subject: gzip 1.3.13 still displays a wrong uncompressed file size
Date: Sun, 17 Oct 2010 12:13:58 +0200
User-agent: KMail/1.13.5 (Linux/2.6.34.7-0.4-default; KDE/4.4.4; x86_64; ; )

Dear gzip-maintainers,

the uncompressed file size is still displayed wrong when it's
value doesn't fit into 32 bits. Example:

address@hidden:/mnt/backup/2010-10-17> gunzip -l image_ssd01.gz
         compressed        uncompressed  ratio uncompressed_name
         8274217726          1128095744 -633.5% image_ssd01

the value for compressed is correct,
for uncompressed it's 160041885696 instead of 1128095744
and the ratio is plain nonsense

Speculation: the value for uncompressed is 32 bits only.
I've even 'proved' it:
   160041885696 = 0x25433D6000, reducing this to 32 bits
   gives 0x433D6000 = 1128095744, the displayed value.

The problem occurs on KNOPPIX 6.2.1 and openSuSE 11.3.

The compression and uncompression seem to be OK, but when
doing backups I'm highly concerned when seeing wrong numbers.
So this really _is_ important.

On openSuSE 11.3: "gzip --version"
gzip 1.3.13
Copyright (C) 2007 Free Software Foundation, Inc.
Copyright (C) 1993 Jean-loup Gailly.
This is free software.  You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.

Written by Jean-loup Gailly.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]