[Libreoffice-bugs] [Bug 125216] FILEOPEN DOC file with extension .dot gives error "Read Error - This is not a valid WinWord6 File"

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Feb 1 09:53:49 UTC 2020


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

Aron Budea <baron at caesar.elte.hu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|can't open .doc file that   |FILEOPEN DOC file with
                   |has the extension .dot      |extension .dot gives error
                   |                            |"Read Error - This is not a
                   |                            |valid WinWord6 File"

--- Comment #14 from Aron Budea <baron at caesar.elte.hu> ---
Some interesting comments from Julien, bug 130308 comment 5 and bug 130308
comment 6:
"About the bug itself, I'm giving a look at
https://interoperability.blob.core.windows.net/files/MS-DOC/%5bMS-DOC%5d-190319.pdf,
trying to understand how FibBase is built."

"Cor: just for the test, I opened the file on Word 365 and saved it (without
any changed on a new file).

Here's hexdump of extract FibBase struct(see my previous comment) before:
EC A5 C1 00 63 00 13 04 00 00 F0

Here's hexdump of extract FibBase struct after:
EC A5 C1 00 6F 00 09 04 00 00 F1

"F1" = 11110001
So "fDot" (the bit tested in Tor's patch) = 1, here (contrary to the initial
doc) and the new dot file can be opened on LO.

I think I already read something about MsOffice file validation but not sure.
The idea would be to validate dot file provided by the website."

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200201/c8ef475c/attachment.htm>


More information about the Libreoffice-bugs mailing list