https://bz.apache.org/bugzilla/show_bug.cgi?id=69433

            Bug ID: 69433
           Summary: LibreOffice calc reports false corruption
           Product: POI
           Version: 5.3.0-FINAL
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: SXSSF
          Assignee: dev@poi.apache.org
          Reporter: warwo...@gmail.com
  Target Milestone: ---

Created attachment 39927
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=39927&action=edit
A spreadsheet that gets detected as corrupt

On Windows 11, LibreOffice Calc 24.8.2 (and most other recent versions) show a
message that the spreadsheet is corrupted and offer to try to repair it.
Calc successfully fixes the spreadsheet.

On the LibreOffice Calc forum I found this is because of a recent commit, where
a 'hole' in the (compressed archive) spreadsheet triggers a corruption being
falsely detected.
Link:
https://ask.libreoffice.org/t/is-spreadsheet-corrupt-or-not/113519/4?u=warwound

Quote 'The change happened in this commit, adding more checks for the sanity of
ZIP: https://gerrit.libreoffice.org/c/core/+/170571 1. It detects, that your
“Zip file has holes! It will leak!” - whatever that may mean (I suspect, that
your ZIP has unused areas, not referenced by any data).

You may want to file a bug report; but IMO, the bug is in the library creating
the package; and having “unused” blocks in a ZIP is spooky, and just anything
put there could come unnoticed.'

Is this a LibreOffice Calc bug or an apache-poi bug?
Attached is a small spreadsheet that exhibits the problem with recent versions
of LibreOffice Calc on Windows.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to