Title: [233783] trunk/Source/WebKit
- Revision
- 233783
- Author
- cdu...@apple.com
- Date
- 2018-07-12 15:21:39 -0700 (Thu, 12 Jul 2018)
Log Message
Assert that the IPC::Connection is valid in Connection::dispatchMessage(Decoder&)
https://bugs.webkit.org/show_bug.cgi?id=187617
Reviewed by Youenn Fablet.
Assert that the IPC::Connection is valid in Connection::dispatchMessage(Decoder&) as
m_client would be stale otherwise.
* Platform/IPC/Connection.cpp:
(IPC::Connection::dispatchMessage):
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (233782 => 233783)
--- trunk/Source/WebKit/ChangeLog 2018-07-12 21:34:35 UTC (rev 233782)
+++ trunk/Source/WebKit/ChangeLog 2018-07-12 22:21:39 UTC (rev 233783)
@@ -1,3 +1,16 @@
+2018-07-12 Chris Dumez <cdu...@apple.com>
+
+ Assert that the IPC::Connection is valid in Connection::dispatchMessage(Decoder&)
+ https://bugs.webkit.org/show_bug.cgi?id=187617
+
+ Reviewed by Youenn Fablet.
+
+ Assert that the IPC::Connection is valid in Connection::dispatchMessage(Decoder&) as
+ m_client would be stale otherwise.
+
+ * Platform/IPC/Connection.cpp:
+ (IPC::Connection::dispatchMessage):
+
2018-07-12 Youenn Fablet <you...@apple.com>
Add a FrameLoaderClient willInjectUserScriptForFrame callback
Modified: trunk/Source/WebKit/Platform/IPC/Connection.cpp (233782 => 233783)
--- trunk/Source/WebKit/Platform/IPC/Connection.cpp 2018-07-12 21:34:35 UTC (rev 233782)
+++ trunk/Source/WebKit/Platform/IPC/Connection.cpp 2018-07-12 22:21:39 UTC (rev 233783)
@@ -936,6 +936,7 @@
void Connection::dispatchMessage(Decoder& decoder)
{
+ ASSERT(isValid());
m_client.didReceiveMessage(*this, decoder);
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes