<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:mikekaganski@hotmail.com" title="Mike Kaganski <mikekaganski@hotmail.com>"> <span class="fn">Mike Kaganski</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Crash when starting any editor with certain formatted clipboard content"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=138229">bug 138229</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Ever confirmed</td>
           <td>
                
           </td>
           <td>1
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>UNCONFIRMED
           </td>
           <td>NEW
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>noelgrandin@gmail.com
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Crash when starting any editor with certain formatted clipboard content"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=138229#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Crash when starting any editor with certain formatted clipboard content"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=138229">bug 138229</a>
              from <span class="vcard"><a class="email" href="mailto:mikekaganski@hotmail.com" title="Mike Kaganski <mikekaganski@hotmail.com>"> <span class="fn">Mike Kaganski</span></a>
</span></b>
        <pre>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]
<a href="https://docs.microsoft.com/en-us/windows/win32/api/oleidl/ns-oleidl-objectdescriptor">https://docs.microsoft.com/en-us/windows/win32/api/oleidl/ns-oleidl-objectdescriptor</a></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>