Bug 262475

Summary: Element application crashes in WebCore::Path::isEmpty()
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: SVGAssignee: Carlos Garcia Campos <cgarcia>
Status: RESOLVED FIXED    
Severity: Normal CC: sabouhallawa, simon.fraser, webkit-bug-importer, zimmermann
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=263035

Description Carlos Garcia Campos 2023-10-02 02:26:59 PDT
This is because LegacyRenderSVGPath::isRenderingDisabled() is calling Path::isEmpty when it doesn't have a path. I'm not sure it's expected or not, but just checking it first fixes the issue.
Comment 1 Carlos Garcia Campos 2023-10-02 02:29:10 PDT
Pull request: https://github.com/WebKit/WebKit/pull/18490
Comment 2 Radar WebKit Bug Importer 2023-10-09 02:27:13 PDT
<rdar://problem/116668965>
Comment 3 EWS 2023-10-11 14:57:54 PDT
Committed 269223@main (5ce1ab0db72b): <https://commits.webkit.org/269223@main>

Reviewed commits have been landed. Closing PR #18490 and removing active labels.
Comment 4 Simon Fraser (smfr) 2023-10-11 15:21:44 PDT
This crash was also seen on bing.com after 268313@main.