Withdrawn: 8305650: os::lasterror incorrectly truncates buffer in os_windows.cpp

Julian Waters jwaters at openjdk.org
Thu Apr 6 06:35:25 UTC 2023


On Wed, 5 Apr 2023 11:36:30 GMT, Julian Waters <jwaters at openjdk.org> wrote:

> n in os::lasterror defined by os_windows.cpp is only the length of the string's actual character data, not accounting for the null character terminating the string. We should terminate the n + 1 character, not the n'th character

This pull request has been closed without being integrated.

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

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


More information about the hotspot-runtime-dev mailing list