Bug 235966

Summary: null ptr deref in Editor::pasteWithPasteboard
Product: WebKit Reporter: Gabriel Nava Marino <gnavamarino>
Component: HTML EditingAssignee: Gabriel Nava Marino <gnavamarino>
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
Patch none

Description Gabriel Nava Marino 2022-02-01 10:20:15 PST
Add an additional check as pasteAsFragment's dispatchEvent can end up removing the client.

<rdar://problem/88180543>
Comment 1 Gabriel Nava Marino 2022-02-01 10:25:33 PST
Created attachment 450545 [details]
Patch
Comment 2 EWS 2022-02-02 10:12:11 PST
Committed r288960 (246689@main): <https://commits.webkit.org/246689@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 450545 [details].