[webkit-reviews] review requested: [Bug 28245] findNextLineBreak crashes when inserting a blank span in front of a long line : [Attachment 45394] Fix for bug

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 22 12:05:28 PST 2009


Mike Moretti <webkit9 at mordent.com> has asked  for review:
Bug 28245: findNextLineBreak crashes when inserting a blank span in front of a
long line
https://bugs.webkit.org/show_bug.cgi?id=28245

Attachment 45394: Fix for bug
https://bugs.webkit.org/attachment.cgi?id=45394&action=review

------- Additional Comments from Mike Moretti <webkit9 at mordent.com>
The bug was caused by a null/empty string not being checked (and the string
getting accessed by a bad index).  I added a check for empty string and the
crash no longer happens.


More information about the webkit-reviews mailing list