RFR: 8265757: stack-use-after-scope in perfMemory_posix.cpp get_user_name_slow()

Harold Seigel hseigel at openjdk.java.net
Thu Apr 22 15:16:32 UTC 2021


Please review this small change to fix JDK-8265757.  The fix was tested with Mach5 tiers 1 and 2 on Linux, MacOS aarch64, and Windows.

Thanks, Harold

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

Commit messages:
 - 8265757: stack-use-after-scope in perfMemory_posix.cpp get_user_name_slow()

Changes: https://git.openjdk.java.net/jdk/pull/3630/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3630&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8265757
  Stats: 2 lines in 1 file changed: 1 ins; 1 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3630.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3630/head:pull/3630

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


More information about the hotspot-runtime-dev mailing list