IBM Support

IV75409: COM.SUN.IMAGEIO.PLUGINS.PNG.PNGIMAGEREADER THROWS OUTOFMEMORYERR OR WITH MALFORMED/CORRUPT PNG IMAGE

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: N/A
    .
    Stack Trace: JVMDUMP013I Processed dump event "systhrow", detail
    "java/lang/OutOfMemoryError".
    Exception in thread "main" java.lang.OutOfMemoryError: Java heap
    space
            at
    com.sun.imageio.plugins.png.PNGImageReader.readMetadata(PNGImage
    Reader.java:758)
            at
    com.sun.imageio.plugins.png.PNGImageReader.readImage(PNGImageRea
    der.java:1242)
            at
    com.sun.imageio.plugins.png.PNGImageReader.read(PNGImageReader.j
    ava:1590)
            at PngReaderTest.main(PngReaderTest.java:32)
    .
    N/A
    

Local fix

  • N/A
    

Problem summary

  • When metadata of malformed/corrupt PNG image has  invalid chunk
    length (image size), it can be very huge and result in
    OutOfMemoryError while allocating the image object.
    

Problem conclusion

  • The JDK code has been updated to throw an Invalid image
    IOException  when the metadata of PNG image has invalid image
    size.
    .
    This APAR will be fixed in the following Java Releases:
       6 R1 SR8 FP15  (6.1.8.15)
       7 R1 SR3 FP20  (7.1.3.20)
       6    SR16 FP15 (6.0.16.15)
       7    SR9 FP20  (7.0.9.20)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV75409

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-07-23

  • Closed date

    2015-09-08

  • Last modified date

    2015-09-08

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    JAVA CLASS LIBS

  • Fixed component ID

    620700130

Applicable component levels

  • R600 PSY

       UP

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVQ3Y","label":"Java Class Libraries"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
08 September 2015