[webkit-changes] [WebKit/WebKit] d8e149: yasm: fix deprecation warnings for sprint()
Commit Queue
noreply at github.com
Tue Feb 21 22:39:03 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d8e149964798f5b84ea9fd2887f0c69f56efe8bd
https://github.com/WebKit/WebKit/commit/d8e149964798f5b84ea9fd2887f0c69f56efe8bd
Author: David Kilzer <ddkilzer at apple.com>
Date: 2023-02-21 (Tue, 21 Feb 2023)
Changed paths:
M Source/ThirdParty/libwebrtc/Source/third_party/yasm/frontends/yasm/yasm-options.c
M Source/ThirdParty/libwebrtc/Source/third_party/yasm/modules/arch/x86/x86arch.c
Log Message:
-----------
yasm: fix deprecation warnings for sprint()
https://bugs.webkit.org/show_bug.cgi?id=252725
<rdar://105763698>
Unreviewed build fix for deprecation warnings as errors.
Replace sprintf() with snprintf(). Replace strcat() with
strlcat() while we're here.
* Source/ThirdParty/libwebrtc/Source/third_party/yasm/frontends/yasm/yasm-options.c:
(help_msg):
- Switch to snprintf() and strlcat().
* Source/ThirdParty/libwebrtc/Source/third_party/yasm/modules/arch/x86/x86arch.c:
(x86_dir_cpu):
- Switch to snprintf().
Canonical link: https://commits.webkit.org/260657@main
More information about the webkit-changes
mailing list