Bug 222681

Summary: Nulllptr crash in DeleteSelectionCommand::handleGeneralDelete()
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: HTML EditingAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: ews-watchlist, mifenton, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Fixes the bug none

Ryosuke Niwa
Reported 2021-03-03 12:43:04 PST
In the following line, m_downstreamEnd.deprecatedNode() could be null. } else if (!m_downstreamEnd.deprecatedNode()->isDescendantOf(*node)) { <rdar://problem/72769130>
Attachments
Fixes the bug (1.71 KB, patch)
2021-03-03 12:48 PST, Ryosuke Niwa
no flags
Ryosuke Niwa
Comment 1 2021-03-03 12:48:39 PST
Created attachment 422137 [details] Fixes the bug
Ryosuke Niwa
Comment 2 2021-03-03 17:50:45 PST
Comment on attachment 422137 [details] Fixes the bug Clearing flags on attachment: 422137 Committed r273866 (234827@main): <https://commits.webkit.org/234827@main>
Ryosuke Niwa
Comment 3 2021-03-03 17:50:47 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 4 2021-03-03 17:51:38 PST
Note You need to log in before you can comment on or make changes to this bug.