Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d1bf7f2a3884e3acb1ae14a1df6b291a5a4795b8
https://github.com/WebKit/WebKit/commit/d1bf7f2a3884e3acb1ae14a1df6b291a5a4795b8
Author: Pratiksha Choudhury <[email protected]>
Date: 2025-06-11 (Wed, 11 Jun 2025)
Changed paths:
A LayoutTests/fast/svg/path-NaN-bounding-box-crash-expected.txt
A LayoutTests/fast/svg/path-NaN-bounding-box-crash.html
M Source/WebCore/rendering/svg/SVGRenderSupport.cpp
M Source/WebCore/rendering/svg/legacy/LegacyRenderSVGShape.cpp
Log Message:
-----------
ASAN_ILL crash in WebCore::LegacyRenderSVGShape::layout
https://bugs.webkit.org/show_bug.cgi?id=294273
rdar://152182457
Reviewed by Said Abou-Hallawa.
Added checks for any invalid geometry Leading to NaN.
* LayoutTests/fast/svg/path-NaN-bounding-box-crash-expected.txt: Added.
* LayoutTests/fast/svg/path-NaN-bounding-box-crash.html: Added.
* Source/WebCore/rendering/svg/SVGRenderSupport.cpp:
(WebCore::SVGRenderSupport::calculateApproximateStrokeBoundingBox):
* Source/WebCore/rendering/svg/legacy/LegacyRenderSVGShape.cpp:
(WebCore::LegacyRenderSVGShape::calculateStrokeBoundingBox const):
Canonical link: https://commits.webkit.org/296099@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