Status: Accepted
Owner: [email protected]
Labels: Type-Bug Priority-Medium

New issue 1633 by [email protected]: String::ToAsciiVector assumes flat ASCII string has ASCII backing.
http://code.google.com/p/v8/issues/detail?id=1633

The code for String::ToAsciiVector() assumes that an *flat* string with ASCII representation has a backing store that is pure ASCII. That doesn't have to be the case, since it's possible to create a flat ASCII Cons string with a two-byte external string as first part. This can be done through the ExternalizeString api by changing the first part of a flattened ASCII Cons string to two-byte.



--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to