Bug 88106

Summary: Crash in WebCore::FontFallbackList::determinePitch
Product: WebKit Reporter: Eli Fidler <efidler>
Component: TextAssignee: Eli Fidler <efidler>
Status: RESOLVED FIXED    
Severity: Normal CC: mitz, rwlbuis, staikos, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Description Eli Fidler 2012-06-01 10:12:50 PDT
If the site doesn't ask for a reasonable font and the system doesn't provide a good fallback, FontFallBackList::primaryFontData can be 0.
Comment 1 Eli Fidler 2012-06-01 10:15:57 PDT
Created attachment 145335 [details]
Patch
Comment 2 mitz 2012-06-01 12:03:04 PDT
Comment on attachment 145335 [details]
Patch

There are many places in the code that require primaryFontData to be non-0. This bug should be fixed in the FontCache implementation so that it always provides some font as a last resort.
Comment 3 Eli Fidler 2012-06-01 14:16:36 PDT
Created attachment 145375 [details]
Patch
Comment 4 WebKit Review Bot 2012-06-02 14:52:50 PDT
Comment on attachment 145375 [details]
Patch

Clearing flags on attachment: 145375

Committed r119340: <http://trac.webkit.org/changeset/119340>
Comment 5 WebKit Review Bot 2012-06-02 14:53:04 PDT
All reviewed patches have been landed.  Closing bug.