On Fri, 19 Jul 2024 15:32:24 GMT, Adam Sotona <[email protected]> wrote:
> Artificially corrupted class with overflowing max - min values of > `tableswitch` instruction cause infinite loop in > `jdk.internal.classfile.impl.CodeImpl::inflateJumpTargets` > > This patch fixes the overflow and adds relevant test. > > Please review. > > Thank you, > Adam This pull request has now been integrated. Changeset: 0db6c15e Author: Adam Sotona <[email protected]> URL: https://git.openjdk.org/jdk/commit/0db6c15efe255bd313fb2b827d2ee05171e62ae9 Stats: 24 lines in 2 files changed: 22 ins; 0 del; 2 mod 8336833: Endless loop in Javap ClassWriter Reviewed-by: liach ------------- PR: https://git.openjdk.org/jdk/pull/20258
