I was told by an employee of Microsoft, that OpenOffice produces a file which made Word hang. Because I know no better place, I report it here, so that our developers can look, whether the problem exists in LibreOffice too. The problem in the doc file was described to me as: Word expects that every character of text in the document has some record of character level formatting in plcbteChpx as detailed in the DOC file spec here: https://learn.microsoft.com/en-us/openspecs/office_file_formats/ms-doc/ccd7b486-7881-484c-a137-51170af7cc22 Unfortunately, the plcbteChpx ends a few characters shy of the end of the document, leaving the final paragraph marker without any data, possibly the section mark character as well.
Created attachment 188579 [details] Problematic doc I have got the problematic doc. Current Word 365 no longer hangs. You need to use an older Word to see the problem, but I haven't got such.
(In reply to Regina Henschel from comment #0) > I was told by an employee of Microsoft, that OpenOffice produces a file > which made Word hang. Because I know no better place, I report it here, so > that our developers can look, whether the problem exists in LibreOffice too. Is there any extra information on how OpenOffice would create such a corrupt DOC file? Or does it apply to all DOC files created with AOO? In any case, the attached file open fine in LO, Office 365 and OnlyOffice. Maybe something to mention on IRC. Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 7d357628d6e8ce3f9e3c3a567ada21f02bce8d42 CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded