[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 10:01:47 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=173407
--- Comment #7 from JF Bastien <jfbastien at apple.com> ---
(In reply to Florian Bruhin from comment #6)
> If it's a char*, this would be equal to the "naive" bytewise copying below
> the #ifdef though, right?
Correct.
> 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?
I'm not familiar with this part of the code, so it doesn't seem like a stretch to me :)
--
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/a7e5880c/attachment.html>
More information about the webkit-unassigned
mailing list