Bug 262475 - Element application crashes in WebCore::Path::isEmpty()
Summary: Element application crashes in WebCore::Path::isEmpty()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Carlos Garcia Campos
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-10-02 02:26 PDT by Carlos Garcia Campos
Modified: 2023-10-11 15:21 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.