RFR: 8322040: Missing array bounds check in ClassReader.parameter

Liam Miller-Cushon cushon at openjdk.org
Wed Dec 13 23:02:52 UTC 2023


Hello,

Please consider this fix which adds a missing array bounds check in `ClassReader.parameter`.

I found this while investigating the crash described in [JDK-8322040](https://bugs.openjdk.org/browse/JDK-8322040).

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

Commit messages:
 - 8322040: Missing array bounds check in ClassReader.parameter

Changes: https://git.openjdk.org/jdk/pull/17097/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17097&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8322040
  Stats: 154 lines in 2 files changed: 153 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/17097.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17097/head:pull/17097

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


More information about the compiler-dev mailing list