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

Log Message

Merge r255854 - [IPC Hardening] Protect against m_inspectorPage being null in WebInspectorProxy::detach()
https://bugs.webkit.org/show_bug.cgi?id=207286
<rdar://problem/55422296>

Reviewed by David Kilzer.

* UIProcess/Inspector/WebInspectorProxy.cpp:
(WebKit::WebInspectorProxy::detach):

Modified Paths

Diff

Modified: releases/WebKitGTK/webkit-2.28/Source/WebKit/ChangeLog (255926 => 255927)


--- releases/WebKitGTK/webkit-2.28/Source/WebKit/ChangeLog	2020-02-06 15:10:12 UTC (rev 255926)
+++ releases/WebKitGTK/webkit-2.28/Source/WebKit/ChangeLog	2020-02-06 15:10:15 UTC (rev 255927)
@@ -1,5 +1,16 @@
 2020-02-05  Chris Dumez  <[email protected]>
 
+        [IPC Hardening] Protect against m_inspectorPage being null in WebInspectorProxy::detach()
+        https://bugs.webkit.org/show_bug.cgi?id=207286
+        <rdar://problem/55422296>
+
+        Reviewed by David Kilzer.
+
+        * UIProcess/Inspector/WebInspectorProxy.cpp:
+        (WebKit::WebInspectorProxy::detach):
+
+2020-02-05  Chris Dumez  <[email protected]>
+
         [IPC Hardening] Protect against null String under WebInspectorProxy::save() / WebInspectorProxy::append()
         https://bugs.webkit.org/show_bug.cgi?id=207284
         <rdar://problem/55271616>

Modified: releases/WebKitGTK/webkit-2.28/Source/WebKit/UIProcess/Inspector/WebInspectorProxy.cpp (255926 => 255927)


--- releases/WebKitGTK/webkit-2.28/Source/WebKit/UIProcess/Inspector/WebInspectorProxy.cpp	2020-02-06 15:10:12 UTC (rev 255926)
+++ releases/WebKitGTK/webkit-2.28/Source/WebKit/UIProcess/Inspector/WebInspectorProxy.cpp	2020-02-06 15:10:15 UTC (rev 255927)
@@ -307,7 +307,7 @@
 
 void WebInspectorProxy::detach()
 {
-    if (!m_inspectedPage)
+    if (!m_inspectedPage || !m_inspectorPage)
         return;
 
     m_isAttached = false;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to