Public bug reported:

Binary package hint: gzip

"gunzip --list" gives incorrect results for files of size (2^32 - 1)
bytes or larger.

To reproduce:

$ dd if=/dev/zero bs=1 seek=$((2**32-2)) count=1 of=noerror
$ dd if=/dev/zero bs=1 seek=$((2**32-1)) count=1 of=error
$ gzip -c noerror > noerror.gz
$ gzip -c error > error.gz
$ gunzip --list noerror.gz 
         compressed        uncompressed  ratio uncompressed_name
            4168183          4294967295  99.9% noerror
$ gunzip --list error.gz 
         compressed        uncompressed  ratio uncompressed_name
            4168181                   0   0.0% error

I'm using gzip 1.3.12-8ubuntu1 on Karmic.

** Affects: gzip (Ubuntu)
     Importance: Undecided
         Status: New

-- 
"gunzip --list" displays nonsense for very large files
https://bugs.launchpad.net/bugs/513232
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to