[Webkit-unassigned] [Bug 173407] WTF::StringImpl::copyChars segfaults when built with GCC 7

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 15 09:58:12 PDT 2017


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

--- Comment #6 from Florian Bruhin <webkit.org at the-compiler.org> ---
If it's a char*, this would be equal to the "naive" bytewise copying below the #ifdef though, right?

If it's more than 20 chars (> s_copyCharsInlineCutOff), memcpy is already used, so if anything used copyChars with the same source/destination, that'd have to be only with strings guaranteed to be shorter, which seems quite a stretch I think?

-- 
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/20170615/a4fa78b9/attachment.html>


More information about the webkit-unassigned mailing list