[Webkit-unassigned] [Bug 252725] New: yasm: fix deprecation warnings for sprint()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 21 22:17:27 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=252725

            Bug ID: 252725
           Summary: yasm: fix deprecation warnings for sprint()
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebRTC
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ddkilzer at webkit.org
                CC: youennf at gmail.com

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]

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230222/3958811a/attachment.htm>


More information about the webkit-unassigned mailing list