[Webkit-unassigned] [Bug 95315] New: Web Inspector: usafe static_cast in RetainedDOMInfo::IsEquivalent

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 29 02:08:56 PDT 2012


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

           Summary: Web Inspector: usafe static_cast in
                    RetainedDOMInfo::IsEquivalent
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: yurys at chromium.org
                CC: timothy at apple.com, rik at webkit.org, keishi at webkit.org,
                    pmuellr at yahoo.com, joepeck at webkit.org,
                    pfeldman at chromium.org, yurys at chromium.org,
                    bweinstein at apple.com, apavlov at chromium.org,
                    loislo at chromium.org, alexeif at chromium.org


Before casting v8::RetainedObjectInfo to WebCore::RetainedObjectInfo we should check if it is an instance of WebCore::RetainedObjectInfo as it may happen to be an instance of v8::internal::NativeGroupRetainedObjectInfo. This check can be accomplished by comparing labels of the two objects as the labels should be unique for retained groups.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list