[webkit-changes] [WebKit/WebKit] 10afd1: [WebGPU] Crash in Device::createShaderModule runni...

mwyrzykowski noreply at github.com
Fri Jan 19 11:07:46 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 10afd1ef7aa2c0604b9c98e1fc7783951d5e55ab
      https://github.com/WebKit/WebKit/commit/10afd1ef7aa2c0604b9c98e1fc7783951d5e55ab
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2024-01-19 (Fri, 19 Jan 2024)

  Changed paths:
    M Source/WebGPU/WebGPU/ShaderModule.mm

  Log Message:
  -----------
  [WebGPU] Crash in Device::createShaderModule running shader,validation,* tests
https://bugs.webkit.org/show_bug.cgi?id=267677
<radar://121171008>

Reviewed by Tadeu Zagallo.

Until https://bugs.webkit.org/show_bug.cgi?id=266774 is completed,
we have a range check that may return NSNotFound and not checking that
led to a crash in -[NSString substringWithRange:]

* Source/WebGPU/WebGPU/ShaderModule.mm:
(WebGPU::Device::createShaderModule):

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




More information about the webkit-changes mailing list