Created attachment 201105 [details] A document in an invalid ZIP package, reportedly generated by Dolibarr Ref: https://ask.libreoffice.org/t/all-odt-files-corrupt/95821/8 The attachment is said to be generated by Dolibarr. It is reported corrupt by LibreOffice versions 24.8+; and can be repaired, when confirmed; but the problem is, that the repaired document misses an image in the header (it shows a "Read Error" in its placeholder). Manually unpacking the package, and packing back unmodified, shows the image OK. Opening it using version 24.2 and earlier, also gives the image. So the bug is, that repairing should restore content correctly.
What's confusing is that its meta claims it to be generated by LO 25.2. Unrelated to this specific problem; but can we really generate such broken packages ourselves?
Mike Kaganski committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/9727cf785945218a4f06562f4edb657551d25436 tdf#166862: fix reading data for CRC calculation It will be available in 25.8.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Mike Kaganski committed a patch related to this issue. It has been pushed to "libreoffice-25-2": https://git.libreoffice.org/core/commit/90146f70bf3840a7f093cebed4f5857329eea42d tdf#166862: fix reading data for CRC calculation It will be available in 25.2.5. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
*** Bug 166938 has been marked as a duplicate of this bug. ***