[Webkit-unassigned] [Bug 207236] Nullptr crash in WebCore::FontFamilySpecificationCoreText::fontRanges

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 4 16:06:20 PST 2020


--- Comment #1 from Jack <shihchieh_lee at apple.com> ---
Cause of the crash:

In function “FontFamilySpecificationCoreText::fontRanges”, fontMap().ensure(…) returns null and in the last line we dereference the null ptr.

In this test case, computed pixel size is -1 in FontDescriptionKey, causing the hashing logic to enter rehash(), rehash() returns null because it skips entries that have computed pixel size = -1.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200205/371bdcbe/attachment.htm>

More information about the webkit-unassigned mailing list