<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - "/OCRPageInfo <</L /eng >> BDC" marked content causes abort"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=104468">104468</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>"/OCRPageInfo <</L /eng >> BDC" marked content causes abort
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>poppler
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>general
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>poppler-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jmmorlan@sonic.net
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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.</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>