Bug 99223

Summary: AtomicString::HashAndUTF8CharactersTranslator::equal() doesn't optimally handle 8 bit strings
Product: WebKit Reporter: Michael Saboff <msaboff>
Component: JavaScriptCoreAssignee: Michael Saboff <msaboff>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch
none
Updated Patch none

Michael Saboff
Reported 2012-10-12 17:56:36 PDT
HashAndUTF8CharactersTranslator::equal() uses StringImpl::characters() on subject string to access the characters to compare, possibly up converting an 8 bit string.
Attachments
Patch (2.17 KB, patch)
2012-10-12 18:05 PDT, Michael Saboff
no flags
Updated Patch (2.04 KB, patch)
2012-10-12 18:11 PDT, Michael Saboff
no flags
Michael Saboff
Comment 1 2012-10-12 18:05:57 PDT
Michael Saboff
Comment 2 2012-10-12 18:11:32 PDT
Created attachment 168524 [details] Updated Patch Cleaned up white space error in original patch.
Geoffrey Garen
Comment 3 2012-10-17 14:51:27 PDT
Comment on attachment 168524 [details] Updated Patch r=me
WebKit Review Bot
Comment 4 2012-10-17 15:08:27 PDT
Comment on attachment 168524 [details] Updated Patch Clearing flags on attachment: 168524 Committed r131652: <http://trac.webkit.org/changeset/131652>
WebKit Review Bot
Comment 5 2012-10-17 15:08:30 PDT
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.