[webkit-changes] [WebKit/WebKit] 182d9c: [NavigationAPI] Use-after-free in NavigateEvent
Chris Dumez
noreply at github.com
Thu Sep 26 07:58:30 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 182d9c2cf11d206ff5e980fd7389d8cf17dce0f8
https://github.com/WebKit/WebKit/commit/182d9c2cf11d206ff5e980fd7389d8cf17dce0f8
Author: Chris Dumez <cdumez at apple.com>
Date: 2024-09-26 (Thu, 26 Sep 2024)
Changed paths:
M Source/WebCore/Sources.txt
M Source/WebCore/WebCore.xcodeproj/project.pbxproj
A Source/WebCore/bindings/js/JSNavigateEventCustom.cpp
M Source/WebCore/page/NavigateEvent.h
M Source/WebCore/page/NavigateEvent.idl
Log Message:
-----------
[NavigationAPI] Use-after-free in NavigateEvent
https://bugs.webkit.org/show_bug.cgi?id=280379
rdar://125482106
Reviewed by Rob Buis and Geoffrey Garen.
Use JSValueInWrappedObject to keep the JSValue alive.
* Source/WebCore/Sources.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/bindings/js/JSNavigateEventCustom.cpp: Added.
(WebCore::JSNavigateEvent::visitAdditionalChildren):
* Source/WebCore/css/parser/CSSPropertyParserConsumer+ColorInterpolationMethod.h:
* Source/WebCore/css/typedom/CSSNumericValue.cpp:
* Source/WebCore/page/NavigateEvent.h:
* Source/WebCore/page/NavigateEvent.idl:
Canonical link: https://commits.webkit.org/284282@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list