[jdk8u-dev] RFR: 8152207: Perform array bound checks while getting a length of bytecode instructions

Martin Balao mbalao at openjdk.org
Thu Jul 4 21:21:24 UTC 2024


On Wed, 26 Jun 2024 01:42:00 GMT, Martin Balao <mbalao at openjdk.org> wrote:

> Hi,
> 
> I'd like to propose a backport of 8152207 for 8u as this release is affected. The JDK main line patch applies almost cleanly, except for the file path and the copyright date.
> 
> Thanks,
> Martin.-

> @martinuy How about the changes to `jdk/src/java.base/share/native/libverify/check_code.c` in [openjdk/jdk11u-dev at 6d029e8](https://github.com/openjdk/jdk11u-dev/commit/6d029e80343873833f39d0cdd3473751c7719945) for the same bug? I think we should include both fixes, not just a part of it.

Well spotted! There were 2 different commits referring to the same bug because they were made previous to the trees unification and they were made to the "jdk" and "hotspot" trees. I'll fix this.

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

PR Comment: https://git.openjdk.org/jdk8u-dev/pull/527#issuecomment-2209571728


More information about the jdk8u-dev mailing list