[Bug 1022287] Re: negative compression ratio if list a big gzip file

2015-09-21 Thread Gert van den Berg
See page 7 of https://www.ietf.org/rfc/rfc1952.txt (ISIZE is the relevant field) It is an limitation of the gzip file format... It is also documented in the gzip man page under "BUGS", with a (slow) workaround... One way to fix it might be to define an "extra field" with a larger original file s

[Bug 1022287] Re: negative compression ratio if list a big gzip file

2013-02-19 Thread Eric Druid
To me it looks like this is an integer overflow on the uncompressed filesize druid@ ~ gzip -l dump.sql.gz compresseduncompressed ratio uncompressed_name 2850064545 1792003237 -59.0% dump.sql druid@ ~ gzip --version gzip 1.4 Copyright (C) 2007 Free Softw

[Bug 1022287] Re: negative compression ratio if list a big gzip file

2013-02-19 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: gzip (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1022287 Title: negat