ICEpdf
  1. ICEpdf
  2. PDF-210

PInfo class does not correctly resolve indirect references

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.1
    • Fix Version/s: 4.1.1
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      Viewer RI

      Description

      While testing a PDF I happened to fall upon this issue. The PDF in question had indirect object references for the Trailers Info entries. For some reason the PInfo doesn't extend Dictionary and resolve the references correctly.

      I wrote this class a really long time ago and apparently didn't yet fully understand the importance of the library when resolving the dictionary entries.

      Real simple bug to fix, make PInfo extend Dictionary and create an new constructor that setups the libary correctly. Update the current constructor so that it gets the library from the security manager.

        Activity

        Hide
        Patrick Corless added a comment -

        Updated the PInfo Class as well as the PTrailer class. PInfo can no correctly return indirect object entries. No changes to the public API. Marking as fext.

        Show
        Patrick Corless added a comment - Updated the PInfo Class as well as the PTrailer class. PInfo can no correctly return indirect object entries. No changes to the public API. Marking as fext.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: