RFR: 8364135: JPEGImageReader.getImageTypes() should throw exception for negative image index [v5]
Prasanta Sadhukhan
psadhukhan at openjdk.org
Thu Aug 28 08:05:44 UTC 2025
On Tue, 26 Aug 2025 06:03:01 GMT, Jayathirth D V <jdv at openjdk.org> 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.
>
> Jayathirth D V has updated the pull request incrementally with one additional commit since the last revision:
>
> Keep verifyImageIndex in try block
Marked as reviewed by psadhukhan (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/26522#pullrequestreview-3163704602
More information about the client-libs-dev
mailing list