[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 10:41:44 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=125216
Julien Nabet <serval2412 at yahoo.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |serval2412 at yahoo.fr
--- Comment #15 from Julien Nabet <serval2412 at yahoo.fr> ---
Indeed, in Roman's file, we can see:
000047D8 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 EC A5 01 01
00004804 4D 20 09 04 00 00 F0 12 BF 00 00 00 00 00 00 30 00 00 00 00 00
08 00 00 70 09 00 00 0E 00 43 61 6F 6C 61 6E 38 30 00 00 00 00 00 00
So F0 again (so fDot = 0)
I wonder how these files have been generated. If they were created from
MSOffice without extension renaming, it would mean Microsoft doesn't even
respect his proper specs (knowing that dot file is quite an old format) (or did
I miss something?)
Anyway, IMHO Tor's patch is correct and shouldn't be reverted.
Perhaps to workaround this, perhaps should we test extension (with case
unsensitive) after:
bIsDetected = ((aBits1 & 0x01) == 0x01);
(see
https://opengrok.libreoffice.org/xref/core/sw/source/ui/uno/swdetect.cxx?r=eaeabd78#117)
in case bIsDetected is false ?
(of course it would be ugly too)
--
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/a26dd9c2/attachment.htm>
More information about the Libreoffice-bugs
mailing list