Bug 58393

Summary: Crash when serializing a null AttributedString
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: WebKit2Assignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal Keywords: InRadar
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.6   
Attachments:
Description Flags
proposed fix oliver: review+

Description Alexey Proskuryakov 2011-04-12 16:20:43 PDT
WebCore may refuse to provide an AttributedString (e.g. when inside a password field). Calling functions like CFStringLength on a null argument crashes.
Comment 1 Alexey Proskuryakov 2011-04-12 16:20:58 PDT
<rdar://problem/9275326>
Comment 2 Alexey Proskuryakov 2011-04-12 16:22:46 PDT
Created attachment 89301 [details]
proposed fix
Comment 3 Alexey Proskuryakov 2011-04-12 16:34:31 PDT
Committed <http://trac.webkit.org/changeset/83662>.