DescriptionFix Unicode string normalization with null bytes
Previously, String.prototype.normalize constructed its ICU input
string as a null-terminated string. This creates a bug for strings
which contain a null byte, which is allowed in ECMAScript. This
patch constructs the ICU string based on its length so that the
entire string is normalized.
R=jshin@chromium.org
BUG=v8:4654
LOG=Y
Committed: https://crrev.com/f3e41d96dd36acba861150c9c5c1e83f427ff196
Cr-Commit-Position: refs/heads/master@{#33614}
Patch Set 1 #
Messages
Total messages: 11 (4 generated)
|