[Webkit-unassigned] [Bug 44169] New: WebCore..VisibleSelection..toNormalizedRange ReadAV at NULL

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 18 06:09:58 PDT 2010


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

           Summary: WebCore..VisibleSelection..toNormalizedRange
                    ReadAV at NULL
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows Vista
            Status: NEW
          Severity: Normal
          Priority: P1
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: skylined at chromium.org
                CC: eric at webkit.org


Created an attachment (id=64695)
 --> (https://bugs.webkit.org/attachment.cgi?id=64695)
Repro

The following repro causes a NULL ptr crash in latest Chromium:
<body onload="
  selection = window.getSelection();
  range = document.createRange();
  document.write('<button><br>');
  document.body.contentEditable = true;
  selection.setPosition(document,7);
  document.execCommand('JustifyNone', false);
  document.open();
  document.execCommand('undo',false,0);
  location.reload();
">

id:             WebCore::VisibleSelection::toNormalizedRange ReadAV at NULL (a1b9c2e8fbec25147570883307987405)
description:    Attempt to read from NULL pointer (+0x14) in WebCore::VisibleSelection::toNormalizedRange
stack:          WebCore::VisibleSelection::toNormalizedRange
                WebCore::Frame::shouldChangeSelection
                WebCore::Frame::shouldChangeSelection
                WebCore::Editor::changeSelectionAfterCommand
                WebCore::Editor::unappliedEditing
                WebCore::EditCommand::unapply
                WebKit::EditorClientImpl::undo
                WebCore::executeUndo
                WebCore::Editor::Command::execute
                WebCore::Document::execCommand
                WebCore::DocumentInternal::execCommandCallback
                v8::internal::HandleApiCallHelper<...>
                v8::internal::Builtin_HandleApiCall
                v8::internal::Invoke
                v8::internal::Execution::Call
                ...

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