[webkit-changes] [WebKit/WebKit] bca58a: [WebAuthn] Check mediation optional before derefer...

Commit Queue noreply at github.com
Wed Jan 24 22:41:58 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bca58a413d4d4767ebf590b3466b330f67db277a
      https://github.com/WebKit/WebKit/commit/bca58a413d4d4767ebf590b3466b330f67db277a
  Author: Pascoe <pascoe at apple.com>
  Date:   2024-01-24 (Wed, 24 Jan 2024)

  Changed paths:
    M Source/WebKit/UIProcess/WebAuthentication/Cocoa/WebAuthenticatorCoordinatorProxy.mm

  Log Message:
  -----------
  [WebAuthn] Check mediation optional before dereferencing
https://bugs.webkit.org/show_bug.cgi?id=268021
rdar://121530024

Reviewed by Charlie Wolfe.

We need to check if this conditional is present before comparing it's value.

* Source/WebKit/UIProcess/WebAuthentication/Cocoa/WebAuthenticatorCoordinatorProxy.mm:
(WebKit::WebAuthenticatorCoordinatorProxy::requestsForAssertion):
Public AuthenticationServices API will not accept security key requests for autofill
requests at this time so we shouldn't include one.
(WebKit::WebAuthenticatorCoordinatorProxy::performRequest):

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




More information about the webkit-changes mailing list