RFR: 8354453: Don't strcpy in os::strdup, use memcpy instead
Anton Artemov
duke at openjdk.org
Thu Apr 17 16:32:00 UTC 2025
Use memcpy instead of strcpy in os::strdup, 1 string pass fewer.
-------------
Commit messages:
- 8354453: Don't strcpy in os::strdup, use memcpy instead
Changes: https://git.openjdk.org/jdk/pull/24651/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24651&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8354453
Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/24651.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/24651/head:pull/24651
PR: https://git.openjdk.org/jdk/pull/24651
More information about the hotspot-runtime-dev
mailing list