RFR: 8333622: ubsan: relocInfo_x86.cpp:101:56: runtime error: pointer index expression with base (-1) overflowed
Vladimir Kozlov
kvn at openjdk.org
Wed Jun 5 22:34:41 UTC 2024
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
-------------
Commit messages:
- 8333622: ubsan: relocInfo_x86.cpp:101:56: runtime error: pointer index expression with base (-1) overflowed
Changes: https://git.openjdk.org/jdk/pull/19568/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=19568&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8333622
Stats: 5 lines in 1 file changed: 4 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/19568.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/19568/head:pull/19568
PR: https://git.openjdk.org/jdk/pull/19568
More information about the hotspot-compiler-dev
mailing list