ICEpdf
  1. ICEpdf
  2. PDF-1089

xForm transparency buffer out of memory

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.1.3
    • Fix Version/s: 6.2
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      any

      Description

      The PDF in question has some very large xform boxes which are content parser tries to render to a buffer for transparency effects. We have code that tries to detect very large buffers but it is failing in this case.

      Once the image bounds are tightened up the PDF renders fine.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49774 Tue Jan 03 09:56:16 MST 2017 patrick.corless PDF-1089 added image size limits before creating a xform buffer.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/util/content/AbstractContentParser.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/graphics/commands/FormDrawCmd.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49773 Tue Jan 03 09:55:23 MST 2017 patrick.corless PDF-1089 added image size limits before creating a xform buffer.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/util/content/AbstractContentParser.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/pobjects/graphics/commands/FormDrawCmd.java

          People

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

            Dates

            • Created:
              Updated:
              Resolved: