hg: jdk/client: 8190332: PngReader throws NegativeArraySizeException/OOM error when IHDR width is very large

jayathirth.d.v at oracle.com jayathirth.d.v at oracle.com
Mon Nov 20 05:36:39 UTC 2017


Changeset: 99000fb68d0e
Author:    jdv
Date:      2017-11-20 11:02 +0530
URL:       http://hg.openjdk.java.net/jdk/client/rev/99000fb68d0e

8190332: PngReader throws NegativeArraySizeException/OOM error when IHDR width is very large
Reviewed-by: prr, pnarayanan

! src/java.desktop/share/classes/com/sun/imageio/plugins/png/PNGImageReader.java
+ test/jdk/javax/imageio/plugins/png/PngLargeIHDRDimensionTest.java



More information about the jdk-client-changes mailing list