Integrated: 8333622: ubsan: relocInfo_x86.cpp:101:56: runtime error: pointer index expression with base (-1) overflowed

Vladimir Kozlov kvn at openjdk.org
Thu Jun 6 13:44:50 UTC 2024


On Wed, 5 Jun 2024 22:28:39 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

> Add missing check to `pd_call_destination()` similar to check in `pd_set_call_destination()` to avoid arithmetic with `(address)(-1)`.
> 
> Tested tier1-3,stress,xcomp

This pull request has now been integrated.

Changeset: 33fd6ae9
Author:    Vladimir Kozlov <kvn at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/33fd6ae98638d2a4b33d18cc4acee4f0daaa9b35
Stats:     5 lines in 1 file changed: 4 ins; 0 del; 1 mod

8333622: ubsan: relocInfo_x86.cpp:101:56: runtime error: pointer index expression with base (-1) overflowed

Reviewed-by: thartmann, chagedorn

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

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


More information about the hotspot-compiler-dev mailing list