Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 409d0677f2f8970990bec36f797963b4acddcb46
https://github.com/WebKit/WebKit/commit/409d0677f2f8970990bec36f797963b4acddcb46
Author: Charlie Wolfe <[email protected]>
Date: 2025-04-15 (Tue, 15 Apr 2025)
Changed paths:
M Source/WebCore/platform/network/cf/ResourceError.h
M Source/WebCore/platform/network/mac/ResourceErrorMac.mm
M Source/WebKit/Shared/Cocoa/CoreIPCError.mm
M Source/WebKit/UIProcess/WebPageProxy.cpp
Log Message:
-----------
Invalid IPC crash when a client provides an NSError with differing failing
URL keys
https://bugs.webkit.org/show_bug.cgi?id=288737
rdar://145681217
Reviewed by Ryosuke Niwa.
Clients can provide an NSError in API, which may be sent to the WCP/NP and may
fail the IPC validation
added in rdar://140567340. For now, we should just implement a more targeted
fix, protecting only the IPC
endpoint that we know is at risk when the keys do not match.
* Source/WebCore/platform/network/cf/ResourceError.h:
* Source/WebCore/platform/network/mac/ResourceErrorMac.mm:
(WebCore::ResourceError::hasMatchingFailingURLKeys const):
* Source/WebKit/Shared/Cocoa/CoreIPCError.mm:
(WebKit::CoreIPCError::hasValidUserInfo):
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::didFailProvisionalLoadForFrameShared):
Canonical link: https://commits.webkit.org/293747@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes