[webkit-changes] [WebKit/WebKit] 140660: [WebGPU] RenderBundleEncoder::setVertexBuffer may ...
mwyrzykowski
noreply at github.com
Wed May 22 19:33:58 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 140660a4096bd07ed39c47760aa8c75eb4e9cf7c
https://github.com/WebKit/WebKit/commit/140660a4096bd07ed39c47760aa8c75eb4e9cf7c
Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
Date: 2024-05-22 (Wed, 22 May 2024)
Changed paths:
M Source/WebGPU/WebGPU/RenderBundleEncoder.mm
Log Message:
-----------
[WebGPU] RenderBundleEncoder::setVertexBuffer may result in a UAF
https://bugs.webkit.org/show_bug.cgi?id=274525
<radar://128537945>
Reviewed by Dan Glastonbury.
Every other call site to recordCommand captures by Ref, this
was the only outlier passing a raw C++ pointer to the lambda.
* Source/WebGPU/WebGPU/RenderBundleEncoder.mm:
(WebGPU::RenderBundleEncoder::setVertexBuffer):
Canonical link: https://commits.webkit.org/279171@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