[Webkit-unassigned] [Bug 236647] valgrind claim: Source and destination overlap in memcpy_chk(0x1ffeff9c77, 0x1ffeff9c76, 8) from CSSPropertyParser.cpp:158

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 16 09:08:48 PDT 2022


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

Sam Sneddon [:gsnedders] <gsnedders at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |koivisto at iki.fi,
                   |                            |sam at webkit.org

--- Comment #3 from Sam Sneddon [:gsnedders] <gsnedders at apple.com> ---
This is presumably, given I can't find any other usage of them around here:

        // FIXME: Remove this mangling without breaking the web.
        if (isAppleLegacyCssValueKeyword(buffer, length)) {
            memmove(buffer + 7, buffer + 6, length + 1 - 6);
            memcpy(buffer, "-webkit", 7);
            ++length;
        }

Which is… odd.

(i.e., https://github.com/WebKit/WebKit/blob/0e58ce7c537aafbff6e7ce0fa4e579d1889b0ee6/Source/WebCore/css/parser/CSSPropertyParser.cpp#L157)

-- 
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/20220516/619ca47e/attachment-0001.htm>


More information about the webkit-unassigned mailing list