Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d8e149964798f5b84ea9fd2887f0c69f56efe8bd
      
https://github.com/WebKit/WebKit/commit/d8e149964798f5b84ea9fd2887f0c69f56efe8bd
  Author: David Kilzer <[email protected]>
  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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to