RFR: 8308071: [REDO] update for deprecated sprintf for src/utils [v2]
Xue-Lei Andrew Fan
xuelei at openjdk.org
Tue May 16 16:54:47 UTC 2023
> Hi,
>
> This is a redo of JDK-8307855, where issues were found after integration.
>
> The sprintf is deprecated in Xcode 14, and Microsoft Virtual Studio, because of security concerns. The issue was addressed in [JDK-8296812](https://bugs.openjdk.org/browse/JDK-8296812) for building failure, and [JDK-8299378](https://bugs.openjdk.org/browse/JDK-8299378)/[JDK-8299635](https://bugs.openjdk.org/browse/JDK-8299635)/[JDK-8301132](https://bugs.openjdk.org/browse/JDK-8301132) for testing issues . This is a break-down update for sprintf uses in the src/utils directory.
>
> Thanks,
> Xuelei
Xue-Lei Andrew Fan has updated the pull request incrementally with one additional commit since the last revision:
replace strcpy with snprintf
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/13995/files
- new: https://git.openjdk.org/jdk/pull/13995/files/9ac95707..1f833d5e
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=13995&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=13995&range=00-01
Stats: 5 lines in 1 file changed: 1 ins; 2 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/13995.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/13995/head:pull/13995
PR: https://git.openjdk.org/jdk/pull/13995
More information about the build-dev
mailing list