Bug 47263

Summary: SVG feMorphology - big radii cause huge ImageBuffer sizes
Product: WebKit Reporter: Dirk Schulze <krit>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: mdelaney7, zimmermann
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
Patch zimmermann: review+

Dirk Schulze
Reported 2010-10-06 07:38:12 PDT
The current code in FEMorphology::determineAbsolutePaintRect was meant as an optimization, but I forgot to clip the calculated ImageBuffer size to the maxEffectSize. Easy to fix.
Attachments
Patch (1.61 KB, patch)
2010-10-06 07:52 PDT, Dirk Schulze
zimmermann: review+
Dirk Schulze
Comment 1 2010-10-06 07:52:54 PDT
Nikolas Zimmermann
Comment 2 2010-10-06 08:00:24 PDT
Comment on attachment 69939 [details] Patch You should mention this fixes the crashes on the windows & snowleopard bots.
Dirk Schulze
Comment 3 2010-10-06 08:17:21 PDT
Note You need to log in before you can comment on or make changes to this bug.