[Libreoffice-bugs] [Bug 138229] Crash when starting any editor with certain formatted clipboard content

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Nov 15 10:18:57 UTC 2020


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

Mike Kaganski <mikekaganski at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
                 CC|                            |noelgrandin at gmail.com

--- Comment #3 from Mike Kaganski <mikekaganski at hotmail.com> ---
The problem is in SvPasteObjectHelper::GetEmbeddedName, which casts the byte
array returned from anySequence.getArray( ) to OleObjectDescriptor*.

The latter struct is defined in svtools/source/dialogs/insdlg.cxx, and is
documented there to "conform to the Microsoft OBJECTDESCRIPTOR" [1]. You may
note the MS struct using SIZEL and POINTL, and OleObjectDescriptor using Size
and Point - both affected by tools::Long ...

[1]
https://docs.microsoft.com/en-us/windows/win32/api/oleidl/ns-oleidl-objectdescriptor

-- 
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/20201115/c6b33412/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list