[Webkit-unassigned] [Bug 63290] Stack overflow with enormous SVG filter

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 23 21:43:24 PDT 2014


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





--- Comment #15 from Said Abou-Hallawa <sabouhallawa at apple.com>  2014-09-23 21:43:22 PST ---
I did what Dirk and Dean suggested.

-- I return early from RenderSVGResourceFilter::buildPrimitives() if the number of children is greater than 10000 nodes.  There is no point in creating such FilterEffect in this case.  Checking the number of children nodes rather than checking the height of the FilterEffect tree saves us from doing two things. (1) traversing the FilterEffect tree till some maximum depth. (2) avoiding building a tree which is most likely to have no use at the end.

-- The test file was changed to be dynamically include many FilterEffect filters in the SVG.

-- 
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