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

            Bug ID: 174544
           Summary: FILEOPEN DOCX: Writer hangs when opening file with
                    OLE1 Paintbrush (PBrush) object embedded in header
           Product: LibreOffice
           Version: 26.8.3.1 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Writer hangs (stops responding) when opening a DOCX whose header contains
an embedded OLE1 Paintbrush object (ProgID "PBrush"). The attached file is a
minimal sample: only the header with the object and one line of body text.

Steps to Reproduce:
1.Open the attached tdf_OLE1_PBrush_header_test.docx in Writer.
2.
3.

Actual Results:
Writer hangs during loading and never shows the document
(waited some minutes before closing it).

Expected Results:
The document opens, showing the coat of arms image in the header.


Reproducible: Always


User Profile Reset: No

Additional Info:
- The object is in word/embeddings/oleObject1.bin: CLSID
  {0003000A-0000-0000-C000-000000000046}, streams \1CompObj, \1Ole,
  \1Ole10Native, \3ObjInfo. A WMF preview (word/media/image1.wmf) is present.
- The document was last saved by "Microsoft Word for the web"
(docProps/app.xml).
- If the OLE object is removed and the WMF preview is kept as a plain
  VML image (w:pict / v:imagedata), the document opens fine in 26.8.3.1.
- The same file opens fine in LibreOffice 24.2.7.2 on Linux
  (soffice --headless --convert-to pdf). Not tested on [tu sistema] with
  older versions, so this might be a regression.

Version: 26.8.3.1
OS: Windows 11

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to