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

Martin Doerr mdoerr at openjdk.org
Tue Jun 18 06:51:21 UTC 2024


On Mon, 10 Jun 2024 11:02:19 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".

This pull request has now been integrated.

Changeset: 0199fee4
Author:    Martin Doerr <mdoerr at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/0199fee431e0dccdd570b38595ea29c760dbed44
Stats:     10 lines in 1 file changed: 2 ins; 4 del; 4 mod

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

Reviewed-by: aboldtch, mbaesken, kbarrett

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

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


More information about the hotspot-runtime-dev mailing list