venj / theunarchiver

Automatically exported from code.google.com/p/theunarchiver
Other
0 stars 0 forks source link

Cannot handle ZIP archives over 2.5GB #229

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
theunarchiver 2.x cannot extract data from ZIP archives over 2.5 GB, whilst 
BOMArchiveHelper has 
no trouble processing the file (!?)

BTW, there is a typo in the French alert message being displayed:

L'extraction du fichier "sample.zip" a échoué : L'archive est corrumpue

should read

L'extraction du fichier "sample.zip" a échoué : l'archive est corrompue

Original issue reported on code.google.com by goo...@diptyque.mobi on 7 Jan 2010 at 5:35

GoogleCodeExporter commented 9 years ago
I need a test case file to be able to fix it. I've tried creating large zip 
files, but it seems 
nothing I've tried has been able to create correct large zip files.

Original comment by paracel...@gmail.com on 7 Jan 2010 at 5:50

GoogleCodeExporter commented 9 years ago
Maximum attachment size per comment is 10 MB. Please send me an e-mail. And I 
'll will provide you with a ftp 
link to the requested test case file.

Original comment by goo...@diptyque.mobi on 8 Jan 2010 at 9:08

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Ok, I see how it is.

Your file is also actually broken, because it stores files larger than 4GB 
without using 
the Zip64 extensions. That means the recorded sizes are all wrong. The 
Unarchiver 
actually trusts the sizes recorded in the file, and thus it fails to extract 
this archive.

Other unarchivers apparently just keep reading even though the file should have 
ended already, and thus manage to extract the file from the broken archive.

I made The Unarchiver also ignore the size and just unpack as much as it can. 
It's not 
a pretty solution but it's the only way to handle files like these. It's 
created with the 
built in OS X archiver, right? It's really that one that's broken and should be 
fixed, but 
I guess we're stuck waiting for Apple on that one.

The Unarchiver should be able to extract this one now, though. It will 
definitely fail 
on even bigger files, though, and I suspect BOMArchiveHelper will fail too on 
those.

Original comment by paracel...@gmail.com on 10 Jan 2010 at 3:58