hg: jdk/client: 8195841: PNGImageReader.readNullTerminatedString() doesnt check for non-null terminated strings with length equal to maxLen

jayathirth.d.v at oracle.com jayathirth.d.v at oracle.com
Fri Apr 17 05:41:13 UTC 2020


Changeset: 27fd8ff9d6ea
Author:    jdv
Date:      2020-04-17 11:10 +0530
URL:       https://hg.openjdk.java.net/jdk/client/rev/27fd8ff9d6ea

8195841: PNGImageReader.readNullTerminatedString() doesnt check for non-null terminated strings with length equal to maxLen
Reviewed-by: serb, prr

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



More information about the jdk-client-changes mailing list