Branch: refs/heads/webkitglib/2.48 Home: https://github.com/WebKit/WebKit Commit: ae08b69f39809954141de00a9e2664e6369ba42c https://github.com/WebKit/WebKit/commit/ae08b69f39809954141de00a9e2664e6369ba42c Author: Adan Lopez <ja_lopezloz...@apple.com> Date: 2025-07-11 (Fri, 11 Jul 2025)
Changed paths: A LayoutTests/fast/svg/path-NaN-stroke-bounding-box-crash-expected.txt A LayoutTests/fast/svg/path-NaN-stroke-bounding-box-crash.html M Source/WebCore/rendering/svg/legacy/LegacyRenderSVGPath.cpp M Source/WebCore/rendering/svg/legacy/LegacyRenderSVGShape.cpp Log Message: ----------- herry-pick 297180@main (92b2992e4a81). https://bugs.webkit.org/show_bug.cgi?id=295535 ASAN_TRAP in WebCore::LegacyRenderSVGShape::strokeBoundingBox https://bugs.webkit.org/show_bug.cgi?id=295535 rdar://153080312 Reviewed by Simon Fraser and Ryosuke Niwa. Adding checks for invalid bounding box leading marker to NaN. * LayoutTests/fast/svg/path-NaN-stroke-bounding-box-crash-expected.txt: Added. * LayoutTests/fast/svg/path-NaN-stroke-bounding-box-crash.html: Added. * Source/WebCore/rendering/svg/legacy/LegacyRenderSVGPath.cpp: (WebCore::LegacyRenderSVGPath::adjustStrokeBoundingBoxForMarkersAndZeroLengthLinecaps const): * Source/WebCore/rendering/svg/legacy/LegacyRenderSVGShape.cpp: (WebCore::LegacyRenderSVGShape::calculateStrokeBoundingBox const): Canonical link: https://commits.webkit.org/297180@main Canonical link: https://commits.webkit.org/290945.274@webkitglib/2.48 To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes