[webkit-changes] [WebKit/WebKit] 5cf2af: [GTK/WPE] Web Inspector: crash in remote web inspe...

Przemyslaw Gorszkowski noreply at github.com
Fri Nov 24 07:23:22 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5cf2af8221b3d998d2630a655c18abc1ff85bff1
      https://github.com/WebKit/WebKit/commit/5cf2af8221b3d998d2630a655c18abc1ff85bff1
  Author: Przemyslaw Gorszkowski <pgorszkowski at igalia.com>
  Date:   2023-11-24 (Fri, 24 Nov 2023)

  Changed paths:
    M Source/JavaScriptCore/inspector/remote/glib/RemoteInspectorServer.cpp

  Log Message:
  -----------
  [GTK/WPE] Web Inspector: crash in remote web inspector when connection closed during data transfer
https://bugs.webkit.org/show_bug.cgi?id=265304

Reviewed by Carlos Garcia Campos.

It seems that after closing remote web inspector connection it is possible that some of messages
can be still sent from WebProcess to UIProcess and in RemoteInspectorServer::sendMessageToFrontend
there can be a crash because of missing socketConnection which was removed by previous closing
remote web inspector connection(RemoteInspectorServer::close).

* Source/JavaScriptCore/inspector/remote/glib/RemoteInspectorServer.cpp:
(Inspector::RemoteInspectorServer::sendMessageToFrontend):

Canonical link: https://commits.webkit.org/271097@main




More information about the webkit-changes mailing list