RFR: 8352420: [ubsan] codeBuffer.cpp:984:27: runtime error: applying non-zero offset 18446744073709486080 to null pointer [v3]

Doug Simon dnsimon at openjdk.org
Fri Mar 21 15:50:38 UTC 2025


> This PR addresses undefined behavior in CodeBuffer by making `verify_section_allocation` return early for a partially initialized CodeBuffer.

Doug Simon has updated the pull request incrementally with one additional commit since the last revision:

  adjust copyright date

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/24118/files
  - new: https://git.openjdk.org/jdk/pull/24118/files/15d90178..8385c1d8

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=24118&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=24118&range=01-02

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/24118.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24118/head:pull/24118

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


More information about the hotspot-compiler-dev mailing list