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

Martin Doerr mdoerr at openjdk.org
Mon Jun 17 10:34:39 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:

  Cleanup.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/19623/files
  - new: https://git.openjdk.org/jdk/pull/19623/files/ad77e8a6..8973771c

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=19623&range=04
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=19623&range=03-04

  Stats: 6 lines in 1 file changed: 0 ins; 3 del; 3 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