Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c344219c444e74eaafed53f1fab580fdb8e71a45
      
https://github.com/WebKit/WebKit/commit/c344219c444e74eaafed53f1fab580fdb8e71a45
  Author: Chris Dumez <[email protected]>
  Date:   2026-07-01 (Wed, 01 Jul 2026)

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

  Log Message:
  -----------
  Missing validation of frameInfo in WebFrameProxy::getFrameInfo()
https://bugs.webkit.org/show_bug.cgi?id=315006
rdar://176816153

Reviewed by Ryosuke Niwa.

Harden WebFrameProxy::getFrameInfo() so the security-relevant fields of
the FrameInfoData struct returned by WebProcess are now validated.
In case of mismatch, we overwrite with correct values and log an error
message instead of doing a MESSAGE_CHECK, to reduce risk.

* Source/WebKit/UIProcess/WebFrameProxy.cpp:
(WebKit::WebFrameProxy::getFrameInfo):

Originally-landed-as: 305413.931@safari-7624-branch (332b0cbb0bb4). 
rdar://180428935
Canonical link: https://commits.webkit.org/316322@main



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

Reply via email to