| Index: content/renderer/manifest/manifest_parser.cc
|
| diff --git a/content/renderer/manifest/manifest_parser.cc b/content/renderer/manifest/manifest_parser.cc
|
| index 1222a556c488067e97dcb90af6d6679f373bbfa8..d37cd1daca5a71973721a345fb8d6d796a06821b 100644
|
| --- a/content/renderer/manifest/manifest_parser.cc
|
| +++ b/content/renderer/manifest/manifest_parser.cc
|
| @@ -185,7 +185,8 @@ base::NullableString16 ManifestParser::ParseString(
|
|
|
| if (trim == Trim)
|
| base::TrimWhitespace(value, base::TRIM_ALL, &value);
|
| - return base::NullableString16(value, false);
|
| + return base::NullableString16(
|
| + value.substr(0, content::Manifest::kMaxIPCStringLength), false);
|
| }
|
|
|
| int64_t ManifestParser::ParseColor(
|
|
|