[Webkit-unassigned] [Bug 248486] New: Potential crash fix by bailing from DeleteSelectionCommand::doApply when selection isn't editable

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 29 12:19:46 PST 2022


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

            Bug ID: 248486
           Summary: Potential crash fix by bailing from
                    DeleteSelectionCommand::doApply when selection isn't
                    editable
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ahmad.saleem792 at gmail.com
                CC: wenson_hsieh at apple.com

Hi Team,

While going through Blink's commit, I found another potential merge, which can make Webkit more stable and not hit situation leading to crash on debug or release builds:

Blink Commit - https://src.chromium.org/viewvc/blink?view=revision&revision=190121

Webkit GitHub Source - https://github.com/WebKit/WebKit/blob/7e26ee98dc891f869c003c1724f061a82d65bd2b/Source/WebCore/editing/DeleteSelectionCommand.cpp#L984

This is to avoid any crash and harden the function.

Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221129/09462747/attachment.htm>


More information about the webkit-unassigned mailing list