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

felix.yang at huawei.com felix.yang at huawei.com
Fri Mar 19 13:38:05 UTC 2021


Changeset: b959bffd74b8
Author:    jdv
Date:      2017-11-20 11:02 +0530
URL:       https://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/rev/b959bffd74b8

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

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



More information about the jdk8u-dev-changes mailing list