Bug 252725
| Summary: | yasm: fix deprecation warnings for sprintf() | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | David Kilzer (:ddkilzer) <ddkilzer> |
| Component: | WebRTC | Assignee: | David Kilzer (:ddkilzer) <ddkilzer> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer, youennf |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | |||
| Bug Blocks: | 252752 | ||
David Kilzer (:ddkilzer)
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]
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/105763698>
David Kilzer (:ddkilzer)
Pull request: https://github.com/WebKit/WebKit/pull/10496
EWS
Committed 260657@main (d8e149964798): <https://commits.webkit.org/260657@main>
Reviewed commits have been landed. Closing PR #10496 and removing active labels.