Title: [255848] trunk/Source/WebKit
- Revision
- 255848
- Author
- [email protected]
- Date
- 2020-02-05 13:27:45 -0800 (Wed, 05 Feb 2020)
Log Message
[IPC Hardening] Protect against bad RegistrableDomain under WebProcessProxy::didCollectPrewarmInformation()
https://bugs.webkit.org/show_bug.cgi?id=207281
<rdar://problem/55318108>
Reviewed by Geoffrey Garen.
* UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::didCollectPrewarmInformation):
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (255847 => 255848)
--- trunk/Source/WebKit/ChangeLog 2020-02-05 21:26:30 UTC (rev 255847)
+++ trunk/Source/WebKit/ChangeLog 2020-02-05 21:27:45 UTC (rev 255848)
@@ -1,5 +1,16 @@
2020-02-05 Chris Dumez <[email protected]>
+ [IPC Hardening] Protect against bad RegistrableDomain under WebProcessProxy::didCollectPrewarmInformation()
+ https://bugs.webkit.org/show_bug.cgi?id=207281
+ <rdar://problem/55318108>
+
+ Reviewed by Geoffrey Garen.
+
+ * UIProcess/WebProcessProxy.cpp:
+ (WebKit::WebProcessProxy::didCollectPrewarmInformation):
+
+2020-02-05 Chris Dumez <[email protected]>
+
[IPC Hardening] Protect against bad ClientOrigin under Engine::readCachesFromDisk()
https://bugs.webkit.org/show_bug.cgi?id=207280
<rdar://problem/59013832>
Modified: trunk/Source/WebKit/UIProcess/WebProcessProxy.cpp (255847 => 255848)
--- trunk/Source/WebKit/UIProcess/WebProcessProxy.cpp 2020-02-05 21:26:30 UTC (rev 255847)
+++ trunk/Source/WebKit/UIProcess/WebProcessProxy.cpp 2020-02-05 21:27:45 UTC (rev 255848)
@@ -1501,6 +1501,7 @@
void WebProcessProxy::didCollectPrewarmInformation(const WebCore::RegistrableDomain& domain, const WebCore::PrewarmInformation& prewarmInformation)
{
+ MESSAGE_CHECK(!domain.isEmpty());
processPool().didCollectPrewarmInformation(domain, prewarmInformation);
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes