Bug 165092 - A specific file claimed as saved by AOO 4.1.3 shows "corrupt" warning
Summary: A specific file claimed as saved by AOO 4.1.3 shows "corrupt" warning
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
24.8.0.3 release
Hardware: All All
: medium normal
Assignee: Michael Stahl (allotropia)
URL: https://ask.libreoffice.org/t/the-fil...
Whiteboard:
Keywords: bibisectNotNeeded, regression
Depends on:
Blocks:
 
Reported: 2025-02-07 05:50 UTC by Mike Kaganski
Modified: 2025-03-11 19:24 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
The bugdoc from the Ask site (10.72 KB, application/vnd.oasis.opendocument.text)
2025-02-07 05:50 UTC, Mike Kaganski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kaganski 2025-02-07 05:50:41 UTC
Created attachment 199031 [details]
The bugdoc from the Ask site

Ref: https://ask.libreoffice.org/t/the-file-anyname-odt-is-corrupt-and-therefore-cannot-be-opened-libreoffice-can-try-to-repair-the-file/117665/

Open the attachment. Since 24.8, it shows a "The file is corrupt and therefore cannot be opened" warning.

https://gerrit.libreoffice.org/c/core/+/170571/4/package/source/zipapi/ZipFile.cxx#1087 marks it as problematic; related to commit efae4fc42d5fe3c0a69757226f38efc10d101194.
Comment 1 Mike Kaganski 2025-02-07 07:13:59 UTC
BTW: opening the bugdoc in Word 2016 also shows a warning:

> Word found unreadable content in '...'. Do you want to recover ... ?
Comment 2 m_a_riosv 2025-02-08 00:13:07 UTC
Reproducible
Version: 24.8.4.2 (X86_64) / LibreOffice Community
Build ID: bb3cfa12c7b1bf994ecc5649a80400d06cd71002
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded

AOo 4.1.15opens the file without warning.

Latest version that works on the ones I have installed.
Version: 24.2.5.1 (X86_64) / LibreOffice Community
Build ID: 2ccb78ad6bdfe3f3356a7a7f294ec388775c5816
CPU threads: 16; OS: Windows 10.0 Build 26100; UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded

First version that fails on the ones I have installed.
Version: 24.2.6.2 (X86_64) / LibreOffice Community
Build ID: ef66aa7e36a1bb8e65bfbc63aba53045a14d0871
CPU threads: 16; OS: Windows 10.0 Build 26100; UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded
Comment 3 Michael Stahl (allotropia) 2025-02-12 15:33:00 UTC
doesn't load:

info:package:4057404:4057404:package/source/zipapi/ZipFile.cxx:1114: LOC non-0 with data descriptor: "settings.xml"

if we disable this check we get:

info:package.xstor:4058198:4058198:package/source/xstor/xstorage.cxx:3871: Rethrow: com.sun.star.packages.zip.ZipIOException message: "/home/ms/lo/master/package/source/zippackage/ZipPackage.cxx:922: Bad Zip File, ZipException: overlapping entries at /home/ms/lo/master/package/source/zipapi/ZipFile.cxx:1455 

Info-Zip also isn't happy:

> unzip -t English\ Roznama.odt 
Archive:  English Roznama.odt
    testing: mimetype                 OK
    testing: Thumbnails/thumbnail.png   OK
    testing: settings.xml             OK
error: invalid zip file with overlapped components (possible zip bomb)
 To unzip the file anyway, rerun the command with UNZIP_DISABLE_ZIPBOMB_DETECTION=TRUE environmnent variable

... document recovery can load the file... so works as intended...

=> NOTABUG