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

Sergey Bylokhov serb at openjdk.java.net
Thu Feb 4 07:31:56 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.

This pull request has now been integrated.

Changeset: 06b33a0a
Author:    Sergey Bylokhov <serb at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/06b33a0a
Stats:     56 lines in 2 files changed: 54 ins; 0 del; 2 mod

8261107: ArrayIndexOutOfBoundsException in the ICC_Profile.getInstance(InputStream)

Reviewed-by: azvegint, psadhukhan

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

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


More information about the 2d-dev mailing list