Bug 443605 - 'gzip -l' shows bogus information when file is bigger than 4GB
Summary: 'gzip -l' shows bogus information when file is bigger than 4GB
Keywords:
Status: CLOSED DUPLICATE of bug 116967
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: gzip
Version: 5.1
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Ivana Varekova
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-04-22 14:47 UTC by Hannes Kuehnemund
Modified: 2008-05-06 13:14 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-05-06 13:14:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Hannes Kuehnemund 2008-04-22 14:47:42 UTC
Description of problem:
'gzip -l' shows bogus information if file is bigger then 4GB.

Seen on IA64 RHEL4.6 with gunzip 1.3.3

# ls -la test.tar.gz
-rw-r--r--   1 root root 4260425963 Apr 22 16:31 test.tar.gz
# gunzip -l test.tar.gz
         compressed        uncompressed  ratio uncompressed_name
         4260425963                8192 -52007052.6% test.tar

Seen on x86_64 RHEL5.1 with gunzip 1.3.5

# ls -la test.tar.gz
-rw-r--r-- 1 root root 4260425963 Apr 22 16:46 test.tar.gz
# gunzip -l test.tar.gz
         compressed        uncompressed  ratio uncompressed_name
         4260425963                8192 -52007052.6% test.tar


Version-Release number of selected component (if applicable):
gunzip from RHEL 4.6 and 5.1

How reproducible:
always

Steps to Reproduce:
1. tar -czf file.tar.gz <very huge file>
2. gunzip -l file.tar.gz
  
Actual results:
         compressed        uncompressed  ratio uncompressed_name
         4260425963                8192 -52007052.6% test.tar

Expected results:
         compressed        uncompressed  ratio uncompressed_name
         4260425963         11567405143  38%   test.tar

Comment 1 Ivana Varekova 2008-05-06 13:14:25 UTC

*** This bug has been marked as a duplicate of 116967 ***


Note You need to log in before you can comment on or make changes to this bug.