[Poppler-bugs] [Bug 104468] New: "/OCRPageInfo <</L /eng >> BDC" marked content causes abort

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jan 3 01:49:04 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=104468

            Bug ID: 104468
           Summary: "/OCRPageInfo <</L /eng >> BDC" marked content causes
                    abort
           Product: poppler
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: poppler-bugs at lists.freedesktop.org
          Reporter: jmmorlan at sonic.net

We encountered a PDF file (produced by "Nuance PDF Create") with a content
stream containing marked content that looks like this:

/OCRPageInfo <</L /eng >> BDC
...
 EMC

The file causes poppler to crash with the following messages:

Syntax Error (546164): Unexpected MC Type: 7
Internal Error (0): Call to Object where the object was type 7, not the
expected type 4
Aborted

The problem is in Gfx::opBeginMarkedContent. Any marked content with a tag
starting with "OC" is assumed to be optional content. And if args[1].isName()
is false, it calls args[1].getName() anyway.

-- 
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/poppler-bugs/attachments/20180103/663feac8/attachment.html>


More information about the Poppler-bugs mailing list