Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e118db06408d11b659613936beccef24dea1421e
      
https://github.com/WebKit/WebKit/commit/e118db06408d11b659613936beccef24dea1421e
  Author: Chris Dumez <[email protected]>
  Date:   2026-06-01 (Mon, 01 Jun 2026)

  Changed paths:
    M Source/WebKit/UIProcess/WebPermissionControllerProxy.cpp

  Log Message:
  -----------
  Bad IPC from WebProcess could cause UIProcess to crash in 
WebPermissionControllerProxy::mostReasonableWebPageProxy()
https://bugs.webkit.org/show_bug.cgi?id=310175
rdar://172058081

Reviewed by Sihui Liu and Rupin Mittal.

Use MESSAGE_CHECK() in WebPermissionControllerProxy::query() to terminate
the WebProcess in case of bad IPC instead of crashing the UIProcess.

* Source/WebKit/UIProcess/WebPermissionControllerProxy.cpp:
(WebKit::WebPermissionControllerProxy::query):

Originally-landed-as: 305413.519@rapid/safari-7624.2.5.110-branch 
(19c426cf207c). rdar://176061120
Canonical link: https://commits.webkit.org/314335@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to