[Webkit-unassigned] [Bug 227738] New: Defend against stack overflow in GraphicsLayerCA::recursiveCommitChanges

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 6 23:39:31 PDT 2021


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

            Bug ID: 227738
           Summary: Defend against stack overflow in
                    GraphicsLayerCA::recursiveCommitChanges
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Compositing
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: heycam at apple.com
                CC: simon.fraser at apple.com

It looks like GraphicsLayerCA::recursiveCommitChanges can cause a stack overflow in some configurations.  We already have CommitState::treeDepth, which we use to avoid creating deep CALayer trees, so we should be able to stop the recursion at the same level.

-- 
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/20210707/96594f29/attachment.htm>


More information about the webkit-unassigned mailing list