RFR: 8279545: Buffer overrun in reverse_words of sharedRuntime_x86_64.cpp:3517

Harold Seigel hseigel at openjdk.java.net
Wed Jan 12 18:30:47 UTC 2022


Please review this small fix to prevent a potential integer overflow that can cause a buffer overrun.  The fix was tested with Mach5 tiers 1-2 on Linux, Mac OS, and Windows, Mach5 tiers 3-5 on Linux x64, and Mach5 builds of the JDK on PPC and S390.

Thanks, Harold

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

Commit messages:
 - 8279545: Buffer overrun in reverse_words of sharedRuntime_x86_64.cpp:3517

Changes: https://git.openjdk.java.net/jdk/pull/7053/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7053&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8279545
  Stats: 15 lines in 3 files changed: 6 ins; 6 del; 3 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7053.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7053/head:pull/7053

PR: https://git.openjdk.java.net/jdk/pull/7053


More information about the hotspot-runtime-dev mailing list