[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug on gunzip.exe (win32 version) when listing archive contents unco
From: |
Paul Eggert |
Subject: |
Re: Bug on gunzip.exe (win32 version) when listing archive contents uncompressed size |
Date: |
Tue, 14 Nov 2006 13:20:16 -0800 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
"Eric Belfort" <address@hidden> writes:
> I'm writing this message to report a bug on gunzip.exe (win32 version) that
> makes it show a incorrect uncompressed size, when using the -l or --list
> command option. To reproduce the bug I used gzip to compress a 21.7GB flat
> file and then used gunzip with the -l command option to get the archive file
> listings. The uncompressed size displayed was only 1.77GB
The gzip format has a flaw: its header stores file sizes modulo 4 GiB.
See the last sentence of section 2.3.1 of Internet RFC 1952.
So there's no way to report the correct size from the header, without
changing the gzip format, which would be a big deal. Sorry.