WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
271391
[Skia] Crash when failing to create a font with custom data
https://bugs.webkit.org/show_bug.cgi?id=271391
Summary
[Skia] Crash when failing to create a font with custom data
Carlos Garcia Campos
Reported
2024-03-21 09:48:50 PDT
This happens for example with test fast/css/font-face-data-uri-invalid.html. SkFontMgr::makeFromData() fails to create the SkTypeface and returns nullptr that we don't check.
Attachments
Add attachment
proposed patch, testcase, etc.
Carlos Garcia Campos
Comment 1
2024-03-21 09:50:45 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/26250
EWS
Comment 2
2024-03-21 10:31:11 PDT
Committed
276473@main
(d0d77187c24c): <
https://commits.webkit.org/276473@main
> Reviewed commits have been landed. Closing PR #26250 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2024-03-21 10:32:15 PDT
<
rdar://problem/125177158
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug