Summary: | Remove use of strcpy from JSC | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Oliver Hunt <oliver> | ||||||
Component: | New Bugs | Assignee: | Oliver Hunt <oliver> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | buildbot, jfbastien, keith_miller, mark.lam, msaboff, saam | ||||||
Priority: | P2 | ||||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Oliver Hunt
2017-04-08 15:20:41 PDT
Created attachment 306583 [details]
Patch
Unbelievably trivial patch :) Comment on attachment 306583 [details]
Patch
r=me, but can you fix the GTK build failure? Is strlcpy available for all posix?
Created attachment 306593 [details]
Patch
Comment on attachment 306593 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=306593&action=review r=me with ChangeLog comment fixed. > Source/JavaScriptCore/ChangeLog:10 > + Replace the use of strcpy with strlcpy as strcpy keeps > + on tripping various analyser warnings even though its > + trivially safe in this case. Your comment needs to be updated. Committed r215168: <http://trac.webkit.org/changeset/215168> |