ICEpdf
  1. ICEpdf
  2. PDF-215

Handle malformed postscript stream

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.1
    • Fix Version/s: 4.2.2
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      any
    • Assignee Priority:
      P2

      Description

      The PDF in question is actually malformed, I've never seen one that has such a simple but none the less a malformed file. The offending content reads:

      q1 0 0 1 0 792 cm

      but should read

      q 1 0 0 1 0 792 cm

      The error is really simple to see but not some simple to fix. I'll have to think a little more about how to fix the error without slowing down our parser too much.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #24895 Fri Jun 24 11:17:33 MDT 2011 patrick.corless PDF-215 tweak to parser fix to make sure "d0" and "d1" don't get skipped.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/util/Parser.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #24894 Fri Jun 24 11:05:39 MDT 2011 patrick.corless PDF-215 parser tweak to address content stream tokens that aren't separated by whitespace.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/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: