GNU bug report logs - #16699
gzip -l bug

Previous Next

Package: gzip;

Reported by: "Chris Pitzel" <chris.pitzel <at> usask.ca>

Date: Sun, 9 Feb 2014 02:53:02 UTC

Severity: normal

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 16699 in the body.
You can then email your comments to 16699 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gzip <at> gnu.org:
bug#16699; Package gzip. (Sun, 09 Feb 2014 02:53:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Chris Pitzel" <chris.pitzel <at> usask.ca>:
New bug report received and forwarded. Copy sent to bug-gzip <at> gnu.org. (Sun, 09 Feb 2014 02:53:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Chris Pitzel" <chris.pitzel <at> usask.ca>
To: <bug-gzip <at> gnu.org>
Subject: gzip -l bug
Date: Sat, 8 Feb 2014 20:46:27 -0600
[Message part 1 (text/plain, inline)]
A fairly obvious bug with the list (-l) option of gunzip.  In this case,
"grandma-new.img" is approximately 320 gigabytes.  Compressed down to 46gb.
"Uncompressed", and "ratio" are wrong.  

 

 

 

root <at> xxx:/Virt# gunzip -V

gzip 1.6

Copyright (C) 2007, 2010, 2011 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.

root <at> xxx:/Virt# gunzip -l /video1/grandma-new.img.gz

         compressed        uncompressed  ratio uncompressed_name

        46492229886          2245353472 -1970.6% /video1/grandma-new.img

root <at> xxx:/Virt#

[Message part 2 (text/html, inline)]

Information forwarded to bug-gzip <at> gnu.org:
bug#16699; Package gzip. (Sun, 09 Feb 2014 03:59:02 GMT) Full text and rfc822 format available.

Message #8 received at 16699 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Chris Pitzel <chris.pitzel <at> usask.ca>, 16699 <at> debbugs.gnu.org
Subject: Re: bug#16699: gzip -l bug
Date: Sat, 08 Feb 2014 19:58:17 -0800
It's a known problem, inherent to the gzip format (which stores only the 
last 32 bits of the uncompressed size).  Fixing it would require 
changing the format, which is unlikely at this point.




Reply sent to Jim Meyering <jim <at> meyering.net>:
You have taken responsibility. (Sun, 09 Feb 2014 16:12:02 GMT) Full text and rfc822 format available.

Notification sent to "Chris Pitzel" <chris.pitzel <at> usask.ca>:
bug acknowledged by developer. (Sun, 09 Feb 2014 16:12:05 GMT) Full text and rfc822 format available.

Message #13 received at 16699-done <at> debbugs.gnu.org (full text, mbox):

From: Jim Meyering <jim <at> meyering.net>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 16699-done <at> debbugs.gnu.org, Chris Pitzel <chris.pitzel <at> usask.ca>
Subject: Re: bug#16699: gzip -l bug
Date: Sun, 9 Feb 2014 08:11:26 -0800
On Sat, Feb 8, 2014 at 7:58 PM, Paul Eggert <eggert <at> cs.ucla.edu> wrote:
> It's a known problem, inherent to the gzip format (which stores only the
> last 32 bits of the uncompressed size).  Fixing it would require changing
> the format, which is unlikely at this point.

Thanks for the report Chris and for explaining, Paul.
I'm marking this issue as done (via the -done address Cc'd above).




Information forwarded to bug-gzip <at> gnu.org:
bug#16699; Package gzip. (Mon, 10 Feb 2014 11:17:02 GMT) Full text and rfc822 format available.

Message #16 received at 16699 <at> debbugs.gnu.org (full text, mbox):

From: "Vitaly V. Ch" <vitaly.v.ch <at> chernookiy.com>
To: Chris Pitzel <chris.pitzel <at> usask.ca>
Cc: 16699 <at> debbugs.gnu.org
Subject: Re: bug#16699: gzip -l bug
Date: Mon, 10 Feb 2014 11:02:53 +0200
[Message part 1 (text/plain, inline)]
man 1 gzip

and read section "bugs"

\\wbr Vitaly Chernooky


On Sun, Feb 9, 2014 at 4:46 AM, Chris Pitzel <chris.pitzel <at> usask.ca> wrote:

> A fairly obvious bug with the list (-l) option of gunzip.  In this case,
> "grandma-new.img" is approximately 320 gigabytes.  Compressed down to 46gb.
> "Uncompressed", and "ratio" are wrong.
>
>
>
>
>
>
>
> root <at> xxx:/Virt# gunzip -V
>
> gzip 1.6
>
> Copyright (C) 2007, 2010, 2011 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.
>
> root <at> xxx:/Virt# gunzip -l /video1/grandma-new.img.gz
>
>          compressed        uncompressed  ratio uncompressed_name
>
>         46492229886          2245353472 -1970.6% /video1/grandma-new.img
>
> root <at> xxx:/Virt#
>
>


-- 
\\wbr Vitaly
[Message part 2 (text/html, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 10 Mar 2014 11:24:16 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 164 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.