Summary: | Crash in legacy WebView due to unguarded makeSimpleRange dereference | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Marc Haisenko <haisenko> | ||||
Component: | HTML Editing | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | NEW --- | ||||||
Severity: | Normal | CC: | darin, megan_gardner, rniwa, webkit-bug-importer, wenson_hsieh | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | Other | ||||||
Hardware: | Mac (Intel) | ||||||
OS: | macOS 11 | ||||||
Attachments: |
|
Description
Marc Haisenko
2021-06-24 00:00:08 PDT
Easy to fix this by adding the null check even if we can’t reproduce. Would be nice to know why it’s happening. Putting this in the editing component since it’s related to selection. Someone should do the "add null checks" patch. I think we can just early return if either simple range is null. |