[Webkit-unassigned] [Bug 11814] REGRESSION(r18098): Find does not work with capital letters

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Dec 16 00:34:21 PST 2006


http://bugs.webkit.org/show_bug.cgi?id=11814


mitz at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |EasyFix




------- Comment #2 from mitz at webkit.org  2006-12-16 00:34 PDT -------
The second condition here in WTF::Unicode::foldCase() is wrong, causing it to
fail in the common case:

+      *error = !(U_SUCCESS(status) && realLength < resultLength);

The correct condition 'realLength <= resultLength' is redundant, since if the
required length is greater than the buffer, status is set to
U_BUFFER_OVERFLOW_ERROR which is not a success.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list