Bug 171517 - Stop using strcpy() in fullyQualifiedInfoTableName() from Database.cpp
Summary: Stop using strcpy() in fullyQualifiedInfoTableName() from Database.cpp
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: David Kilzer (:ddkilzer)
URL:
Keywords:
Depends on: 171494
Blocks:
  Show dependency treegraph
 
Reported: 2017-05-01 15:26 PDT by David Kilzer (:ddkilzer)
Modified: 2017-05-01 15:55 PDT (History)
3 users (show)

See Also:


Attachments
Patch v1 (1.52 KB, patch)
2017-05-01 15:28 PDT, David Kilzer (:ddkilzer)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Kilzer (:ddkilzer) 2017-05-01 15:26:12 PDT
$ ./Tools/Scripts/check-webkit-style --filter="-,+security/" Source/WebCore
ERROR: Source/WebCore/Modules/webdatabase/Database.cpp:102:  Almost always, snprintf is better than strcpy.  [security/printf] [4]
ERROR: Source/WebCore/Modules/webdatabase/Database.cpp:103:  Almost always, snprintf is better than strcpy.  [security/printf] [4]
Total errors found: 2 in 8492 files
Comment 1 David Kilzer (:ddkilzer) 2017-05-01 15:28:43 PDT
Created attachment 308777 [details]
Patch v1
Comment 2 WebKit Commit Bot 2017-05-01 15:55:41 PDT
Comment on attachment 308777 [details]
Patch v1

Clearing flags on attachment: 308777

Committed r216040: <http://trac.webkit.org/changeset/216040>
Comment 3 WebKit Commit Bot 2017-05-01 15:55:42 PDT
All reviewed patches have been landed.  Closing bug.