Bug 37687 - Chromium: WebKit::WebURLResponse::addHTTPHeaderField will crash if response is invalid UTF-8
Summary: Chromium: WebKit::WebURLResponse::addHTTPHeaderField will crash if response i...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-15 17:52 PDT by Fumitoshi Ukai
Modified: 2010-04-16 11:19 PDT (History)
1 user (show)

See Also:


Attachments
Patch (1.27 KB, patch)
2010-04-15 17:54 PDT, Fumitoshi Ukai
jianli: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fumitoshi Ukai 2010-04-15 17:52:32 PDT
If HTTP response contains invalid UTF-8, WebKit::WebURLResponse::addHTTPHeaderField will crash.

See more detail in http://code.google.com/p/chromium/issues/detail?id=41148
Comment 1 Fumitoshi Ukai 2010-04-15 17:54:57 PDT
Created attachment 53495 [details]
Patch
Comment 2 Jian Li 2010-04-16 11:09:20 PDT
Comment on attachment 53495 [details]
Patch

r=me

Please update the bug title and ChangeLog to replace "Chromium:"  with "[Chromium]" before landing. Thanks.
Comment 3 Jian Li 2010-04-16 11:14:46 PDT
There is also a typo in your ChangeLog. Please replace "ignore is" with "ignore if".
Comment 4 Fumitoshi Ukai 2010-04-16 11:19:45 PDT
Committed r57728: <http://trac.webkit.org/changeset/57728>