[webkit-changes] [WebKit/WebKit] 0e1973: [WebGPU] crash in RemoteTexture::createView

mwyrzykowski noreply at github.com
Mon Feb 19 23:42:41 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0e1973799e7acc986327caf8c253a1e749391f0e
      https://github.com/WebKit/WebKit/commit/0e1973799e7acc986327caf8c253a1e749391f0e
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2024-02-19 (Mon, 19 Feb 2024)

  Changed paths:
    M Source/WebKit/GPUProcess/graphics/WebGPU/RemoteTexture.cpp

  Log Message:
  -----------
  [WebGPU] crash in RemoteTexture::createView
https://bugs.webkit.org/show_bug.cgi?id=269737
<radar://123086999>

Reviewed by Dan Glastonbury.

There is no need to derefrence this optional value since a compromised
web process could set an nullopt descriptor and the member function
further down in the stack correctly handles a missing descriptor.

* Source/WebKit/GPUProcess/graphics/WebGPU/RemoteTexture.cpp:
(WebKit::RemoteTexture::createView):

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



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


More information about the webkit-changes mailing list