[Webkit-unassigned] [Bug 210736] StringImpl::adopt truncates the string by copying only half of the argument Vector

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 20 09:37:18 PDT 2020


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

--- Comment #5 from Darin Adler <darin at apple.com> ---
And in StringImpl::StringImpl.

    copyCharacters(const_cast<LChar*>(m_data8), characters.get(), length);

Let's just not use memcpy, which ignores the types of the pointers, except in copyCharacters, which respects the types of the pointers.

-- 
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/20200420/85a3f7b4/attachment-0001.htm>


More information about the webkit-unassigned mailing list