[webkit-reviews] review requested: [Bug 25335] crash in VisibleSelection::appendTrailingWhitespace() : [Attachment 29723] Initialize TextIterator::m_textLength to 0, to avoid accessing un-initialized memory when construction fails.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Apr 23 18:02:14 PDT 2009
Eric Roman <eroman at chromium.org> has asked for review:
Bug 25335: crash in VisibleSelection::appendTrailingWhitespace()
https://bugs.webkit.org/show_bug.cgi?id=25335
Attachment 29723: Initialize TextIterator::m_textLength to 0, to avoid
accessing un-initialized memory when construction fails.
https://bugs.webkit.org/attachment.cgi?id=29723&action=review
------- Additional Comments from Eric Roman <eroman at chromium.org>
I threw in initialization of m_textCharacters(0) for good measure, but it isn't
strictly needed for this fix.
More information about the webkit-reviews
mailing list