Bug 79937 - Crash at -[WebFrame(WebInternal) _setTypingStyle:withUndoAction:]
Summary: Crash at -[WebFrame(WebInternal) _setTypingStyle:withUndoAction:]
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac Unspecified
: P2 Normal
Assignee: Enrica Casucci
URL:
Keywords: InRadar, Regression
Depends on:
Blocks:
 
Reported: 2012-02-29 13:24 PST by Enrica Casucci
Modified: 2012-02-29 13:28 PST (History)
1 user (show)

See Also:


Attachments
Patch (1.28 KB, patch)
2012-02-29 13:27 PST, Enrica Casucci
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Enrica Casucci 2012-02-29 13:24:50 PST
This crash can be hit when the passed typing style is NULL.
Mail on OS X passes a null value when increasing the quote level.

<rdar://problem/10942936>
Comment 1 Ryosuke Niwa 2012-02-29 13:26:26 PST
So we're missing null check somewhere?
Comment 2 Enrica Casucci 2012-02-29 13:27:20 PST
Created attachment 129504 [details]
Patch

This patch has been reviewed in person by Dan Bernstein.
Comment 3 Enrica Casucci 2012-02-29 13:28:15 PST
http://trac.webkit.org/changeset/109254