Bug 235966 - null ptr deref in Editor::pasteWithPasteboard
Summary: null ptr deref in Editor::pasteWithPasteboard
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Gabriel Nava Marino
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-02-01 10:20 PST by Gabriel Nava Marino
Modified: 2022-02-02 10:12 PST (History)
4 users (show)

See Also:


Attachments
Patch (1.78 KB, patch)
2022-02-01 10:25 PST, Gabriel Nava Marino
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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].