RFR: 8364135: JPEGImageReader.getImageTypes() should throw exception for negative image index [v3]
Jayathirth D V
jdv at openjdk.org
Mon Aug 25 09:53:10 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:
Update image index verification function name
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/26522/files
- new: https://git.openjdk.org/jdk/pull/26522/files/a114acf4..b359e3d6
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=26522&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=26522&range=01-02
Stats: 6 lines in 1 file changed: 0 ins; 0 del; 6 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