RFR: 8364135: JPEGImageReader.getImageTypes() should throw exception for negative image index [v5]
Jayathirth D V
jdv at openjdk.org
Tue Aug 26 06:03:01 UTC 2025
> 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
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/26522/files
- new: https://git.openjdk.org/jdk/pull/26522/files/ce439133..2c8031a3
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=26522&range=04
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=26522&range=03-04
Stats: 8 lines in 1 file changed: 4 ins; 4 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/26522.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/26522/head:pull/26522
PR: https://git.openjdk.org/jdk/pull/26522
More information about the client-libs-dev
mailing list