Bug 234312

Summary: null ptr deref in WebCore::ApplyStyleCommand::applyRelativeFontStyleChange
Product: WebKit Reporter: Gabriel Nava Marino <gnavamarino>
Component: HTML EditingAssignee: Gabriel Nava Marino <gnavamarino>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, 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
Patch
none
Patch none

Description Gabriel Nava Marino 2021-12-14 13:53:57 PST
Given the test case, nodeFullySelected can result in a disconnected node.
Comment 1 Gabriel Nava Marino 2021-12-14 14:13:35 PST
Created attachment 447159 [details]
Patch
Comment 2 Gabriel Nava Marino 2021-12-14 14:34:48 PST
<rdar://problem/85599563>
Comment 3 Gabriel Nava Marino 2021-12-14 15:57:15 PST
Created attachment 447171 [details]
Patch
Comment 4 Chris Dumez 2021-12-15 11:12:19 PST
Comment on attachment 447171 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=447171&action=review

> Source/WebCore/ChangeLog:12
> +        the possibliity of this scenario.

typo: possibliity
Comment 5 Gabriel Nava Marino 2021-12-15 13:55:48 PST
Created attachment 447283 [details]
Patch
Comment 6 EWS 2021-12-15 16:57:13 PST
Committed r287118 (245302@main): <https://commits.webkit.org/245302@main>

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