[Webkit-unassigned] [Bug 171520] New: Stop using strcpy() in WebProcess::registerWithStateDumper() in WebProcessCocoa.mm

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 1 15:49:24 PDT 2017


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

            Bug ID: 171520
           Summary: Stop using strcpy() in
                    WebProcess::registerWithStateDumper() in
                    WebProcessCocoa.mm
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ddkilzer at webkit.org
                CC: bfulgham at webkit.org
        Depends on: 171494

$ ./Tools/Scripts/check-webkit-style --filter="-,+security/" Source/WebKit2
[GTK warnings elided]
ERROR: Source/WebKit2/WebProcess/cocoa/WebProcessCocoa.mm:286:  Almost always, snprintf is better than strcpy.  [security/printf] [4]
Total errors found: 1 in 2838 files

Found via re-enabled checkers from Bug 171494.


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=171494
[Bug 171494] check-webkit-style: Enable sprintf(), strcat(), strcpy() and printf() format checks
-- 
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/20170501/2a9b4614/attachment.html>


More information about the webkit-unassigned mailing list