ICEpdf
  1. ICEpdf
  2. PDF-1295

document with bad xref offsets doesn't load

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.3.1
    • Fix Version/s: 6.3.2
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      any

      Description

      A community member has submitted a PDF that doesn't load at all, it just shows up as a black dot in the RI.

        Activity

        Hide
        Patrick Corless added a comment -

        The PDF the an xref offset error that is just bad enough to allow the catalog to be found by our parser and the root page tree. However any deeper into the xref table and parser starts kicking back primitives instead of the requested object.

        To address this I've added some validation checks that are pretty low cost where the root page tree children are referenced and parsed by the object parser. If any of the object come back as none pages we switch over to linear traversal.

        This sort of problem will be solved by a new object parser I've been working on for quite some time now.

        Show
        Patrick Corless added a comment - The PDF the an xref offset error that is just bad enough to allow the catalog to be found by our parser and the root page tree. However any deeper into the xref table and parser starts kicking back primitives instead of the requested object. To address this I've added some validation checks that are pretty low cost where the root page tree children are referenced and parsed by the object parser. If any of the object come back as none pages we switch over to linear traversal. This sort of problem will be solved by a new object parser I've been working on for quite some time now.
        Hide
        Patrick Corless added a comment -

        Marking as fixed.

        Show
        Patrick Corless added a comment - Marking as fixed.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: