Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1e11f2a39863c6d044bf2f09308c7869ff51c145
https://github.com/WebKit/WebKit/commit/1e11f2a39863c6d044bf2f09308c7869ff51c145
Author: Ryosuke Niwa <[email protected]>
Date: 2026-06-02 (Tue, 02 Jun 2026)
Changed paths:
A
LayoutTests/fast/dom/Range/range-create-contextual-fragment-trsuted-types-crash-expected.txt
A
LayoutTests/fast/dom/Range/range-create-contextual-fragment-trsuted-types-crash.html
Log Message:
-----------
Use-after-free of Node in Range::createContextualFragment
https://bugs.webkit.org/show_bug.cgi?id=312244
rdar://174489535
Reviewed by Chris Dumez.
Fixed the bug by deploying more smart pointers.
Test: fast/dom/Range/range-create-contextual-fragment-trsuted-types-crash.html
*
LayoutTests/fast/dom/Range/range-create-contextual-fragment-trsuted-types-crash-expected.txt:
Added.
*
LayoutTests/fast/dom/Range/range-create-contextual-fragment-trsuted-types-crash.html:
Added.
* Source/WebCore/dom/Range.cpp:
(WebCore::Range::createContextualFragment):
Originally-landed-as: 305413.665@safari-7624-branch (4966a0d102e7).
rdar://176058780
Canonical link: https://commits.webkit.org/314415@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications