Hi,
the is still present in the latest version 1.30-5

How to reproduce it:
Use this zip file
http://www.cs.ucsb.edu/~cavedon/test.zip
which contains no errors:
> $ unzip -t test.zip
> [...]
> No errors detected in compressed data of test.zip.
Run the following code:
===================
use Archive::Zip;
my $zip = Archive::Zip->new();
$zip->read("test.zip");
$zip->removeMember( 'META-INF/MANIFEST.MF' );
$mem = $zip->addString("", 'META-INF/MANIFEST.MF');
$mem->desiredCompressionMethod(COMPRESSION_DEFLATED);
$zip->writeToFileNamed('xxx.zip');
===================
And the xxx.zip fil is corrupted:
> $ unzip -t xxx.zip
> [...]
>     testing: META-INF/                bad CRC 1a6cd7b3  (should be 00000000)
> [...]

Thanks,
Ludovico



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to