hg: jdk/client: 8190512: PngReader incorrectly throws IllegalArgumentException for malformed images with negative dimensions

jayathirth.d.v at oracle.com jayathirth.d.v at oracle.com
Tue Nov 14 07:12:19 UTC 2017


Changeset: f17a797c910a
Author:    jdv
Date:      2017-11-14 12:38 +0530
URL:       http://hg.openjdk.java.net/jdk/client/rev/f17a797c910a

8190512: PngReader incorrectly throws IllegalArgumentException for malformed images with negative dimensions
Reviewed-by: prr, bpb, pnarayanan

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



More information about the jdk-client-changes mailing list