[Webkit-unassigned] [Bug 157718] New: RenderLayer::hitTestList could mutate the list of candidate layers.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat May 14 18:43:47 PDT 2016


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

            Bug ID: 157718
           Summary: RenderLayer::hitTestList could mutate the list of
                    candidate layers.
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: zalan at apple.com
                CC: simon.fraser at apple.com

while looping through the list of layers.
RenderLayer::hitTestList()
...
    for (size_t i = list->size(); i > 0; --i) {
        RenderLayer* childLayer = list->at(i - 1);
        hitLayer = childLayer->hitTestLayer(rootLayer, this, request, tempResult, hitTestRect, hitTestLocation, false, transformState, zOffsetForDescendants);
    !!! list items could be invalid at this point.
   }

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160515/135b0b72/attachment-0001.html>


More information about the webkit-unassigned mailing list