Bug 126202 - Line ending conversion should be able to handle strings with null chars
Summary: Line ending conversion should be able to handle strings with null chars
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: XML (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alexey Proskuryakov
URL:
Keywords: BlinkMergeCandidate
Depends on:
Blocks:
 
Reported: 2013-12-23 19:25 PST by Ryosuke Niwa
Modified: 2014-01-03 10:56 PST (History)
2 users (show)

See Also:


Attachments
merge (5.91 KB, patch)
2014-01-03 10:27 PST, Alexey Proskuryakov
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2013-12-23 19:25:54 PST
Consider merging https://chromium.googlesource.com/chromium/blink/+/7540d33136b1f04a01ce35209aab7ec0928a2fe6

Currently the line ending normalization functions returns an empty string
when a string including null characters is given.
This CL fixes the behavior.

The attached test case fails on WebKit.
Comment 1 Alexey Proskuryakov 2014-01-03 10:27:28 PST
Created attachment 220319 [details]
merge
Comment 2 WebKit Commit Bot 2014-01-03 10:56:10 PST
Comment on attachment 220319 [details]
merge

Clearing flags on attachment: 220319

Committed r161269: <http://trac.webkit.org/changeset/161269>
Comment 3 WebKit Commit Bot 2014-01-03 10:56:12 PST
All reviewed patches have been landed.  Closing bug.