RFR: 8354453: Don't strcpy in os::strdup, use memcpy instead [v3]
Johan Sjölen
jsjolen at openjdk.org
Fri Apr 25 13:51:49 UTC 2025
On Fri, 25 Apr 2025 12:38:09 GMT, Anton Artemov <duke at openjdk.org> wrote:
>> Use memcpy instead of strcpy in os::strdup, 1 string pass fewer.
>>
>> Tested in tiers 1-3, all tests pass.
>
> Anton Artemov has updated the pull request incrementally with one additional commit since the last revision:
>
> 8354453: Addressed the reviewer's comments.
This LGTM, thanks!
It's Friday evening here in Sweden. I'll sponsor it on Monday, so we can follow it through our CI.
-------------
Marked as reviewed by jsjolen (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/24651#pullrequestreview-2794197677
PR Comment: https://git.openjdk.org/jdk/pull/24651#issuecomment-2830493966
More information about the hotspot-runtime-dev
mailing list