[jdk24u] RFR: 8348323: Corrupted timezone string in JVM crash log

Dhamoder Nalla dhanalla at openjdk.org
Tue Feb 25 20:50:11 UTC 2025


Add a error check to "wcstombs" otherwise the "buf" prints junk or corrupted string.

Test performed:

"jcmd < jvm pid > VM.info" for different JVM versions

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

Commit messages:
 - Backport 2bef5b4a877f4d3bc766558b8782b7b57dee79a8

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

PR: https://git.openjdk.org/jdk24u/pull/93


More information about the jdk-updates-dev mailing list