[Webkit-unassigned] [Bug 142885] New: FEMorphology::platformApplyGeneric() should bail out if the radius is less than or equal to zero.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Mar 19 17:21:31 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=142885
Bug ID: 142885
Summary: FEMorphology::platformApplyGeneric() should bail out
if the radius is less than or equal to zero.
Classification: Unclassified
Product: WebKit
Version: 528+ (Nightly build)
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: SVG
Assignee: webkit-unassigned at lists.webkit.org
Reporter: sabouhallawa at apple.com
CC: zimmermann at kde.org
The caller of this function FEMorphology::platformApplySoftware() bails out early if the radius is less than or equal to zero. However when applying the scaling, the resulted radius might be less than zero due to overflow. This radius is passed to FEMorphology::platformApplyGeneric() via FEMorphology::platformApply() and the calculations are carried out needlessly.
We need to clean up this function a little to handle this corner case and to remove repeated code to inline functions.
--
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/20150320/aa89410a/attachment-0002.html>
More information about the webkit-unassigned
mailing list