[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Incorrect size and checksum reported
From: |
Douglas Concors |
Subject: |
Incorrect size and checksum reported |
Date: |
Tue, 16 Oct 2012 04:33:31 -0700 |
When I run gzip 1.5 with the flag -lv, it blindly reads the last 8
bytes of a file and assumes the values are the checksum and length of
the uncompressed data, however the file may have trailing data after
the compressed stream or may not be a gzip stream at all. I would
recommend parsing the file to find the end of the compressed stream
and reading the checksum/size data from there.
-Doug
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Incorrect size and checksum reported,
Douglas Concors <=