RFR: 8348323: Corrupted timezone string in JVM crash log

David Holmes dholmes at openjdk.org
Thu Jan 23 07:02:50 UTC 2025


On Thu, 23 Jan 2025 01:10:05 GMT, Dhamoder Nalla <dhanalla at openjdk.org> wrote:

> Add a error check to "wcstombs" otherwise the "buf" prints junk or corrupted string.
> 
> Test performed: 
> 1. "jcmd < jvm pid > VM.info" for different JVM versions

Change looks good, but I'm very curious as to why `wcstombs` is actually failing i.e. where the bad input is coming from?

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

Marked as reviewed by dholmes (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/23246#pullrequestreview-2569018009


More information about the hotspot-runtime-dev mailing list