[Webkit-unassigned] [Bug 188799] New: WeakPtr breaks vtables when upcasting to base classes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 21 10:46:09 PDT 2018


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

            Bug ID: 188799
           Summary: WeakPtr breaks vtables when upcasting to base classes
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Template Framework
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jer.noble at apple.com

WeakPtr implements upcasting by reinterpret_cast'ing it's WeakReference<Type> to the WeakReference<DerivedType>. This breaks vtables of derived objects.

-- 
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/20180821/7f9d58ca/attachment.html>


More information about the webkit-unassigned mailing list