[Webkit-unassigned] [Bug 130271] New: REGRESSION(r165385): [WebTextIterator currentRange] crashes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 14 16:38:02 PDT 2014


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

           Summary: REGRESSION(r165385): [WebTextIterator currentRange]
                    crashes
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rniwa at webkit.org
                CC: darin at apple.com, andersca at apple.com, enrica at apple.com


After http://trac.webkit.org/changeset/165385, TextIterator::range no longer checked the nullity of m_positionNode.
As a result, [WebTextIterator currentRange] which simply calls TextIterator::range crashes.

Since applications that embed WebKit don't necessarily check atEnd before calling [WebTextIterator currentRange]
we need to keep the null check there.

-- 
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