On Tue, 29 Jul 2025 05:38:00 GMT, Jayathirth D V <[email protected]> wrote:

> We need to throw appropriate exception when we pass invalid image index 
> values to ImageReader.getImageTypes().
> We throw IOOBE in all other plugins except JPEG, Added appropriate check to 
> throw IOOBE when JpegImageReader has invalid image index.

This pull request has now been integrated.

Changeset: fe4c7a04
Author:    Jayathirth D V <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/fe4c7a0429a2cf9ef47701d68d0852ce44e1a9ab
Stats:     98 lines in 2 files changed: 95 ins; 2 del; 1 mod

8364135: JPEGImageReader.getImageTypes() should throw exception for negative 
image index

Reviewed-by: aivanov, prr, psadhukhan

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

PR: https://git.openjdk.org/jdk/pull/26522

Reply via email to