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

            Bug ID: 165762
           Summary: Error saving a huge file (content.xml unpacked size >
                    4 GB)
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 199831
  --> https://bugs.documentfoundation.org/attachment.cgi?id=199831&action=edit
A huge (but simple) data

The attached file has first 36 columns completely filled simply with the column
names. Inspecting ZIP shows, that content.xml is just below 4 GB.

Open the attachment; in cell AK1 put "ak"; copy the cell down (e.g.,
double-clicking the rectangle in the right down corner of the cell).
Now try to save it.

=> General input/output error.

The file gets saved, though; opening in 7-Zip shows, that column
"Characteristics" for content.xml has "Extra_ERROR Zip64_ERROR : Descriptor
UTF8".

Trying to open it in Calc shows a warning: "The file 'huge.ods' is corrupt
...". Restoring the file works, having all the data.

I suspect that the error is shown because of the ZIP hardening work by Michael
Stahl (e.g., commit efae4fc42d5fe3c0a69757226f38efc10d101194, or some similar),
and just discovered the implementation error - likely from commit
abda72eeac19b18c22f57d5443c3955a463605d7, that introduced write support for
Zip64.

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

Reply via email to