Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d0d77187c24c1e2bef6bba0fefc55da1cfe783b2
https://github.com/WebKit/WebKit/commit/d0d77187c24c1e2bef6bba0fefc55da1cfe783b2
Author: Carlos Garcia Campos <[email protected]>
Date: 2024-03-21 (Thu, 21 Mar 2024)
Changed paths:
M Source/WebCore/platform/graphics/skia/FontCustomPlatformDataSkia.cpp
Log Message:
-----------
[Skia] Crash when failing to create a font with custom data
https://bugs.webkit.org/show_bug.cgi?id=271391
Reviewed by Adrian Perez de Castro.
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.
* Source/WebCore/platform/graphics/skia/FontCustomPlatformDataSkia.cpp:
(WebCore::FontCustomPlatformData::create):
Canonical link: https://commits.webkit.org/276473@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