[Webkit-unassigned] [Bug 103139] [ENCHANT] Infinite loop when end word position is not found

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 23 06:49:44 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=103139


Carlos Garcia Campos <cgarcia at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #175799|                            |review?
               Flag|                            |




--- Comment #1 from Carlos Garcia Campos <cgarcia at igalia.com>  2012-11-23 06:51:48 PST ---
Created an attachment (id=175799)
 --> (https://bugs.webkit.org/attachment.cgi?id=175799&action=review)
Patch

We could just fix the infinite loop by adding the check to break the inner loop, but the code can be optimized and simplified a lot using the word iterator to iterate the words and it also fixes the infinite loop.

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



More information about the webkit-unassigned mailing list