RESOLVED FIXED 103317
HTML/XML parser helper unconsumeCharacters() can push back 8 bit text as 16 bit text
https://bugs.webkit.org/show_bug.cgi?id=103317
Summary HTML/XML parser helper unconsumeCharacters() can push back 8 bit text as 16 b...
Michael Saboff
Reported 2012-11-26 16:32:15 PST
For greater than 2 character push back, unconsumeCharacters() in WebCore/xml/parser/CharacterReferenceParserInlines.h extracts text from the StringBuilder argument as a 16 bit string even if the StringBuilder contains 8 bit text. Instead, the StringBuilder should be stringified and used directly.
Attachments
Patch (1.64 KB, patch)
2012-11-26 16:40 PST, Michael Saboff
no flags
Michael Saboff
Comment 1 2012-11-26 16:40:48 PST
WebKit Review Bot
Comment 2 2012-11-26 19:00:47 PST
Comment on attachment 176108 [details] Patch Clearing flags on attachment: 176108 Committed r135802: <http://trac.webkit.org/changeset/135802>
WebKit Review Bot
Comment 3 2012-11-26 19:00:50 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.