Bug 15982 - Improve JSString UTF-8 decoding
Summary: Improve JSString UTF-8 decoding
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Alexey Proskuryakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-14 00:22 PST by Alexey Proskuryakov
Modified: 2007-11-14 22:00 PST (History)
0 users

See Also:


Attachments
proposed patch (12.67 KB, patch)
2007-11-14 00:29 PST, Alexey Proskuryakov
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2007-11-14 00:22:26 PST
From bug 15953 comment 5.

We don't want lenient decoding in JSStringCreateWithUTF8CString(), and we want it to return 0 on error.
Comment 1 Alexey Proskuryakov 2007-11-14 00:29:24 PST
Created attachment 17263 [details]
proposed patch
Comment 2 Darin Adler 2007-11-14 07:42:36 PST
Comment on attachment 17263 [details]
proposed patch

r=me
Comment 3 Alexey Proskuryakov 2007-11-14 22:00:10 PST
Committed revision 27810.