[Webkit-unassigned] [Bug 200438] Undefined behavior in Vector::append

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 5 20:06:16 PDT 2019


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

Alexey Proskuryakov <ap at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ap at webkit.org

--- Comment #2 from Alexey Proskuryakov <ap at webkit.org> ---
A pointer pointing to the element after the last one is fine, but dereferencing it is not. 

Now, I’m not sure what std::addressof gives us here that (data + dataSize) would not. What kind of overload are we protecting against?

-- 
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/20190806/dbbfddf0/attachment.html>


More information about the webkit-unassigned mailing list