Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: cdffdfba669efcb4fc6120196f60f4a440c57fcc
https://github.com/WebKit/WebKit/commit/cdffdfba669efcb4fc6120196f60f4a440c57fcc
Author: Mike Wyrzykowski <[email protected]>
Date: 2025-12-17 (Wed, 17 Dec 2025)
Changed paths:
A LayoutTests/fast/webgpu/nocrash/fuzz-304220-expected.txt
A LayoutTests/fast/webgpu/nocrash/fuzz-304220.html
M Source/WebGPU/WebGPU/ComputePassEncoder.mm
Log Message:
-----------
ComputePassEncoder::setBindGroup is missing an early return
https://bugs.webkit.org/show_bug.cgi?id=304220
rdar://166494086
Reviewed by Geoffrey Garen.
Clearing out bind groups was added to the WebGPU specification,
they are handled for RenderPassEncoders but the ComputePassEncoder
is missing a return statement leading to null-ptr crashes.
Test: fast/webgpu/nocrash/fuzz-304220.html
* LayoutTests/fast/webgpu/nocrash/fuzz-304220-expected.txt: Added.
* LayoutTests/fast/webgpu/nocrash/fuzz-304220.html: Added.
* Source/WebGPU/WebGPU/ComputePassEncoder.mm:
(WebGPU::ComputePassEncoder::setBindGroup):
Canonical link: https://commits.webkit.org/304593@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications