[Webkit-unassigned] [Bug 100972] New: [Mac] Crash in Range::editingStartPosition

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 1 11:15:43 PDT 2012


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

           Summary: [Mac] Crash in Range::editingStartPosition
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Keywords: InRadar
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rniwa at webkit.org
                CC: adele at apple.com, enrica at apple.com


http://trac.webkit.org/browser/trunk/Source/WebCore/editing/mac/EditorMac.mm#L165
165        RefPtr<Range> range = m_frame->selection()->toNormalizedRange();
166        if (Node* startNode = adjustedSelectionStartForStyleComputation(m_frame->selection()->selection()).deprecatedNode()) {
167            Node* pastEnd = range->pastLastNode();

range could be null in the line 165, in which case, we blow up in the line 167. We've been getting crash reports in Safari.

<rdar://problem/10227183>

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