Branch: refs/heads/webkitglib/2.46
Home: https://github.com/WebKit/WebKit
Commit: 70a7a8526a9cda57facd44940f9ed231f4ce19d6
https://github.com/WebKit/WebKit/commit/70a7a8526a9cda57facd44940f9ed231f4ce19d6
Author: Anil Hebbar <[email protected]>
Date: 2025-02-12 (Wed, 12 Feb 2025)
Changed paths:
A LayoutTests/svg/filters/feMerge-zero-inputs-expected.txt
A LayoutTests/svg/filters/feMerge-zero-inputs.html
M Source/WebCore/svg/SVGFilterPrimitiveStandardAttributes.cpp
Log Message:
-----------
Cherry-pick 289632@main (bd4af90cc0a2).
https://bugs.webkit.org/show_bug.cgi?id=286649
ASAN_TRAP in WebCore::FilterEffect::takeImageInputs called from
WebCore::SVGFilter::apply
https://bugs.webkit.org/show_bug.cgi?id=286649
rdar://141026221
Reviewed by Said Abou-Hallawa.
The bug was caused by inputs to the FEMerge being size 0.
The original size was one, but the test script deleted the
child <feMergeNode>. This breaks the SVGFilter.
The fix is:
SVGFilterPrimitiveStandardAttributes::markFilterEffectForRebuild()
should clear m_effect even if the renderer is null.
This will force us to try to create a new one when
applying the broken SVGFilter.
* LayoutTests/svg/filters/feMerge-zero-inputs-expected.txt: Added.
* LayoutTests/svg/filters/feMerge-zero-inputs.html: Added.
* Source/WebCore/svg/SVGFilterPrimitiveStandardAttributes.cpp:
(WebCore::SVGFilterPrimitiveStandardAttributes::markFilterEffectForRebuild):
Canonical link: https://commits.webkit.org/289632@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes