[webkit-reviews] review requested: [Bug 103139] [ENCHANT] Infinite loop when end word position is not found : [Attachment 175799] Patch

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


Carlos Garcia Campos <cgarcia at igalia.com> has asked  for review:
Bug 103139: [ENCHANT] Infinite loop when end word position is not found
https://bugs.webkit.org/show_bug.cgi?id=103139

Attachment 175799: Patch
https://bugs.webkit.org/attachment.cgi?id=175799&action=review

------- Additional Comments from Carlos Garcia Campos <cgarcia at igalia.com>
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.


More information about the webkit-reviews mailing list