RFR: 8333639: ubsan: cppVtables.cpp:81:55: runtime error: index 14 out of bounds for type 'long int [1]' [v4]
Martin Doerr
mdoerr at openjdk.org
Sat Jun 15 10:01:25 UTC 2024
> We shouldn't specify a wrong array length which causes undefined behavior. Using a "flexible array member".
Martin Doerr has updated the pull request incrementally with one additional commit since the last revision:
Factor out cloned_vtable_offs().
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/19623/files
- new: https://git.openjdk.org/jdk/pull/19623/files/d46dd8f2..ad77e8a6
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=19623&range=03
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=19623&range=02-03
Stats: 4 lines in 1 file changed: 1 ins; 1 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/19623.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/19623/head:pull/19623
PR: https://git.openjdk.org/jdk/pull/19623
More information about the hotspot-runtime-dev
mailing list