ICEpdf
  1. ICEpdf
  2. PDF-1216

Malformed document with missing endobj not rendering

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.2.5
    • Fix Version/s: 6.3
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      any

      Description

      The file in question has quite a few issue related to missing syntax, colour data , cmap streams and xref offset issues. The customer has pointed out that the file in question does partially render in Acrobat.

        Activity

        Patrick Corless created issue -
        Patrick Corless made changes -
        Field Original Value New Value
        Fix Version/s 6.3 [ 13093 ]
        Hide
        Patrick Corless added a comment -

        When a document's xref table cannot be found we fall back to parsing the entire document to re-index it. We have code in our object parser for adjusting for missing endobj but it would appear that the code only partially works, the problem being that we loose the object number of the next pobject in the file. In this particular case the next object number is rather important as it's the document catalog.

        Show
        Patrick Corless added a comment - When a document's xref table cannot be found we fall back to parsing the entire document to re-index it. We have code in our object parser for adjusting for missing endobj but it would appear that the code only partially works, the problem being that we loose the object number of the next pobject in the file. In this particular case the next object number is rather important as it's the document catalog.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #52090 Mon Nov 20 09:20:43 MST 2017 patrick.corless PDF-1216 patch to correctly apply the next object number to respective
        object after a missing endobj is encountered.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/core-awt/src/main/java/org/icepdf/core/util/Parser.java
        Hide
        Patrick Corless added a comment -

        Passed QA, marking as fixed.

        Show
        Patrick Corless added a comment - Passed QA, marking as fixed.
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #52149 Wed Dec 13 09:14:51 MST 2017 patrick.corless PDF-1216 patch to correctly apply the next object number to respective
        object after a missing endobj is encountered.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-6.2.0/icepdf/core/src/org/icepdf/core/util/Parser.java
        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: