ICEpdf
  1. ICEpdf
  2. PDF-823

Pro content parser is failing on empty dictionary definition.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0, 5.1
    • Fix Version/s: 5.1.1
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      Pro content parser.

      Description

      The PDF in question contains empty dictionary entry which is causing our content parser get stuck and iterate to the end of the content stream. The content looks something like this:

      /Artifact << >>
      BDC
      ...
      EMC

      This defect in the PRO engine doesn't effect the OS content parser. For some reason this is the only test case we have in our test suite for an empty dictionary entry, << >>. There is nothing in the specification that points that is incorrect and is like just something iText is doing from time to time.
      1. Deutsch.1.pdf
        52 kB
        Patrick Corless

        Issue Links

          Activity

          Patrick Corless made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Trang Vu made changes -
          Link This issue duplicates PDF-649 [ PDF-649 ]
          Patrick Corless made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hide
          Patrick Corless added a comment -

          Passed automated QA process.

          Show
          Patrick Corless added a comment - Passed automated QA process.
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #43311 Fri Oct 31 10:26:03 MDT 2014 patrick.corless PDF-823 catch for null pointer font resource and encoding size.
          Files Changed
          Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/Resources.java
          Hide
          Patrick Corless added a comment -

          I've check in fix for the Pro lexer which appears to address this issue. I'll need to circle back with a QA run but believe this issue is addressed.

          Show
          Patrick Corless added a comment - I've check in fix for the Pro lexer which appears to address this issue. I'll need to circle back with a QA run but believe this issue is addressed.
          Patrick Corless made changes -
          Attachment Deutsch.1.pdf [ 17498 ]
          Patrick Corless made changes -
          Field Original Value New Value
          Fix Version/s 5.1.1 [ 11770 ]
          Patrick Corless created issue -

            People

            • Assignee:
              Patrick Corless
              Reporter:
              Patrick Corless
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: