https://bugs.documentfoundation.org/show_bug.cgi?id=163384

--- Comment #7 from Martin Leiblinger <[email protected]> ---
I also investigated the problem, and I am pretty sure there are no loopholes in
the mentioned Excel file, but there is an issue that the data descriptor in the
ZIP file should look like this:

4.3.9  Data descriptor
(https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT)
compressed size                 4 bytes
uncompressed size               4 bytes

However, in the corrupted file, they are actually stored in 8 bytes, as is
typical in the ZIP64 format. 


When I modified this line
https://github.com/LibreOffice/core/blob/master/package/source/zipapi/ZipFile.cxx#L1077
to always true, I was able to open the mentioned Excel file in LibreOffice
without errors.

I also tried to create a standard ZIP64 package using the commons-compress
library, but that fails as corrupted in MS Excel :(

So It seems that Excel uses a non-standard implementation of ZIP64, according
to this article https://rzymek.github.io/post/excel-zip64/

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to