[webkit-changes] [WebKit/WebKit] c39221: [WebGPU] RemoteBuffer::destroy should always call ...
mwyrzykowski
noreply at github.com
Wed Jan 31 17:07:54 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c392218715bcb96ac8b290707801a64ef5368408
https://github.com/WebKit/WebKit/commit/c392218715bcb96ac8b290707801a64ef5368408
Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
Date: 2024-01-31 (Wed, 31 Jan 2024)
Changed paths:
M Source/WebKit/GPUProcess/graphics/WebGPU/RemoteBuffer.cpp
Log Message:
-----------
[WebGPU] RemoteBuffer::destroy should always call unmap first
https://bugs.webkit.org/show_bug.cgi?id=268386
<radar://107265905>
Reviewed by Dan Glastonbury.
A compromised web process can directly call destroy and
destroy should always call unmap first, so we can't rely
on the web content process to call unmap.
* Source/WebKit/GPUProcess/graphics/WebGPU/RemoteBuffer.cpp:
(WebKit::RemoteBuffer::unmap):
(WebKit::RemoteBuffer::destroy):
Canonical link: https://commits.webkit.org/273871@main
More information about the webkit-changes
mailing list