RFR: 8296812: sprintf is deprecated in Xcode 14 [v9]
Thomas Stuefe
stuefe at openjdk.org
Fri Nov 18 07:12:28 UTC 2022
On Fri, 18 Nov 2022 06:42:24 GMT, Xue-Lei Andrew Fan <xuelei at openjdk.org> wrote:
>> Hi,
>>
>> May I have this update reviewed?
>>
>> The sprintf is deprecated in Xcode 14 because of security concerns, and the use of it causing building failure. The build could pass if warnings are disabled for codes that use sprintf method. For the long run, the sprintf could be replaced with snprintf. This patch is trying to check if snprintf could be used.
>>
>> Thanks,
>> Xuelei
>
> Xue-Lei Andrew Fan has updated the pull request incrementally with one additional commit since the last revision:
>
> size_t cast
Hi @XueleiFan,
the last version with the asserts looks fine to me. Thanks for your work!
Cheers, Thomas
-------------
Marked as reviewed by stuefe (Reviewer).
PR: https://git.openjdk.org/jdk/pull/11115
More information about the hotspot-dev
mailing list