Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: dd0784ac337239449f2a8eca0302dc8a61d647c4
https://github.com/WebKit/WebKit/commit/dd0784ac337239449f2a8eca0302dc8a61d647c4
Author: Chris Dumez <[email protected]>
Date: 2026-03-28 (Sat, 28 Mar 2026)
Changed paths:
M Source/WebCore/html/parser/HTMLDocumentParser.cpp
M Source/WebCore/html/parser/HTMLInputStream.h
Log Message:
-----------
Fix use-after-move in HTMLDocumentParser::insert(SegmentedString&&)
https://bugs.webkit.org/show_bug.cgi?id=310957
Reviewed by Anne van Kesteren.
This does not change behavior at the moment but the code was very
fragile.
* Source/WebCore/html/parser/HTMLDocumentParser.cpp:
(WebCore::HTMLDocumentParser::insert):
* Source/WebCore/html/parser/HTMLInputStream.h:
(WebCore::HTMLInputStream::insertAtCurrentInsertionPoint):
Canonical link: https://commits.webkit.org/310151@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications