Title: [255923] releases/WebKitGTK/webkit-2.28/Source/WebKit
Revision
255923
Author
[email protected]
Date
2020-02-06 07:10:02 -0800 (Thu, 06 Feb 2020)

Log Message

Merge r255848 - [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: releases/WebKitGTK/webkit-2.28/Source/WebKit/ChangeLog (255922 => 255923)


--- releases/WebKitGTK/webkit-2.28/Source/WebKit/ChangeLog	2020-02-06 15:09:58 UTC (rev 255922)
+++ releases/WebKitGTK/webkit-2.28/Source/WebKit/ChangeLog	2020-02-06 15:10:02 UTC (rev 255923)
@@ -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: releases/WebKitGTK/webkit-2.28/Source/WebKit/UIProcess/WebProcessProxy.cpp (255922 => 255923)


--- releases/WebKitGTK/webkit-2.28/Source/WebKit/UIProcess/WebProcessProxy.cpp	2020-02-06 15:09:58 UTC (rev 255922)
+++ releases/WebKitGTK/webkit-2.28/Source/WebKit/UIProcess/WebProcessProxy.cpp	2020-02-06 15:10:02 UTC (rev 255923)
@@ -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

Reply via email to