[webkit-changes] [WebKit/WebKit] 3bccf2: [WebGPU] Crash in RemoteCommandEncoder::beginCompu...

mwyrzykowski noreply at github.com
Mon Feb 19 23:39:32 PST 2024


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

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

  Log Message:
  -----------
  [WebGPU] Crash in RemoteCommandEncoder::beginComputePass
https://bugs.webkit.org/show_bug.cgi?id=269739
<radar://123080112>

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/RemoteCommandEncoder.cpp:
(WebKit::RemoteCommandEncoder::beginComputePass):

Canonical link: https://commits.webkit.org/275024@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