RFR: 8333639: ubsan: cppVtables.cpp:81:55: runtime error: index 14 out of bounds for type 'long int [1]' [v5]

Kim Barrett kbarrett at openjdk.org
Mon Jun 17 22:30:19 UTC 2024


On Mon, 17 Jun 2024 10:34:39 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

>> 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:
> 
>   Cleanup.

Looks good, other than pre-existing issues like the description of byte_size.
Those can be addressed later.

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

Marked as reviewed by kbarrett (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/19623#pullrequestreview-2124003805


More information about the hotspot-runtime-dev mailing list