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+

Alexey Proskuryakov
Reported 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.
Attachments
proposed fix (1.61 KB, patch)
2011-04-12 16:22 PDT, Alexey Proskuryakov
oliver: review+
Alexey Proskuryakov
Comment 1 2011-04-12 16:20:58 PDT
Alexey Proskuryakov
Comment 2 2011-04-12 16:22:46 PDT
Created attachment 89301 [details] proposed fix
Alexey Proskuryakov
Comment 3 2011-04-12 16:34:31 PDT
Note You need to log in before you can comment on or make changes to this bug.