|
From: | Antonio Diaz Diaz |
Subject: | Re: [Lzip-bug] bug in error output with corrupted lzip files |
Date: | Mon, 09 Feb 2009 16:30:49 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.11) Gecko/20050905 |
Hello, Lloyd Hilaiel wrote:
foo.tar.1.lz: trailer truncated at trailer position 0; some checks may fail.bad crc for uncompressed data; expected 00000000, obtained E44173E6. bad uncompressed size; expected 0, obtained 297944. lzip: Deleting output file `foo.tar.1', if it exists. I'm guessing that the expected and obtained values are flipped?
I think not. The compressor stores in the member trailer the CRC and size of the uncompressed data. Then the decompressor compares the CRC and size "obtained" during decompression with those stored in the trailer (the "expected" ones).
If the trailer is corrupt, the "expected" values will be wrong. Best regards, Antonio.
[Prev in Thread] | Current Thread | [Next in Thread] |