[OpenJDK 2D-Dev] RFR: 8261107: ArrayIndexOutOfBoundsException in the ICC_Profile.getInstance(InputStream)

Alexander Zvegintsev azvegint at openjdk.java.net
Thu Feb 4 04:06:42 UTC 2021


On Thu, 4 Feb 2021 01:56:57 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> Some broken data in the InputStream may cause the wrong exception to be thrown - ArrayIndexOutOfBoundsException instead of IllegalArgumentException, if the data is too small and we try to validate it.

Marked as reviewed by azvegint (Reviewer).

-------------

PR: https://git.openjdk.java.net/jdk/pull/2394


More information about the 2d-dev mailing list