ICEpdf
  1. ICEpdf
  2. PDF-742

Malformed content stream parsing results in array parsing depth error

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.6
    • Fix Version/s: 5.0.6_P01, 5.0.7
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      any

      Description

      Working through our QA logs in detail I've found several files that have corrupt xref offset which usual result in a an object parse that fails when an array is parsed.

      The error is due to the a miss match of [] and will kill the parser. We don't have the facility to kill the parsing and linearly load the file but we can look for the negative depth value and try and correct the parsing so we can try and load the rest of the document.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #40855 Tue Apr 22 10:08:09 MDT 2014 patrick.corless PDF-742 updated the array parsing to look for negative depths, report the error and keep on parsing the content stream.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/util/Parser.java

          People

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

            Dates

            • Created:
              Updated:
              Resolved: