WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
144818
NSInternalInconsistencyException raised in -[NSString encodeWithCoder:] beneath createEncodedObject when using WKRemoteObjectEncoder for Safari AutoFill
https://bugs.webkit.org/show_bug.cgi?id=144818
Summary
NSInternalInconsistencyException raised in -[NSString encodeWithCoder:] benea...
mitz
Reported
2015-05-08 16:01:50 PDT
An NSString instance can contain an unpaired surrogate, but then trying to encode it with a custom NSCoder results in an exception. This can happen when Safari AutoFill encodes a string originating from a webpage.
Attachments
Avoid -[NSString encodeWithCoder:]
(3.30 KB, patch)
2015-05-08 16:09 PDT
,
mitz
andersca
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
mitz
Comment 1
2015-05-08 16:02:04 PDT
<
rdar://problem/20757196
>
mitz
Comment 2
2015-05-08 16:09:27 PDT
Created
attachment 252754
[details]
Avoid -[NSString encodeWithCoder:]
mitz
Comment 3
2015-05-08 16:16:01 PDT
Fixed in <
http://trac.webkit.org/r184026
>.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug