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

        Patrick Corless created issue -
        Patrick Corless made changes -
        Field Original Value New Value
        Salesforce Case []
        Fix Version/s 4.1.1 [ 10244 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #22463 Wed Sep 29 12:55:09 MDT 2010 patrick.corless PDF-210 updated PInfo to correctly resolve indirect object references.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/PInfo.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/PTrailer.java
        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.
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: