Bug 252725 - yasm: fix deprecation warnings for sprintf()
Summary: yasm: fix deprecation warnings for sprintf()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: David Kilzer (:ddkilzer)
URL:
Keywords: InRadar
Depends on:
Blocks: 252752
  Show dependency treegraph
 
Reported: 2023-02-21 22:17 PST by David Kilzer (:ddkilzer)
Modified: 2023-02-22 08:52 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Kilzer (:ddkilzer) 2023-02-21 22:17:27 PST
yasm: fix deprecation warnings for sprint()

This is now causing internal build failures.

Source/ThirdParty/libwebrtc/Source/third_party/yasm/frontends/yasm/yasm-options.c:177:17: error: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Werror,-Wdeprecated-declarations]
Source/ThirdParty/libwebrtc/Source/third_party/yasm/frontends/yasm/yasm-options.c:185:17: error: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Werror,-Wdeprecated-declarations]
Source/ThirdParty/libwebrtc/Source/third_party/yasm/frontends/yasm/yasm-options.c:193:17: error: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Werror,-Wdeprecated-declarations]
Source/ThirdParty/libwebrtc/Source/third_party/yasm/frontends/yasm/yasm-options.c:199:17: error: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Werror,-Wdeprecated-declarations]
Source/ThirdParty/libwebrtc/Source/third_party/yasm/modules/arch/x86/x86arch.c:169:17: error: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Werror,-Wdeprecated-declarations]
Comment 1 Radar WebKit Bug Importer 2023-02-21 22:17:48 PST
<rdar://problem/105763698>
Comment 2 David Kilzer (:ddkilzer) 2023-02-21 22:21:45 PST
Pull request: https://github.com/WebKit/WebKit/pull/10496
Comment 3 EWS 2023-02-21 22:38:55 PST
Committed 260657@main (d8e149964798): <https://commits.webkit.org/260657@main>

Reviewed commits have been landed. Closing PR #10496 and removing active labels.