commit | ec3e4b05108e5300d0ff29c09bc637489565df81 | [log] [tgz] |
---|---|---|
author | Jiawei Shao <jiawei.shao@intel.com> | Fri Feb 25 16:28:39 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Feb 25 16:28:39 2022 +0000 |
tree | 51c548e785fec8413503889af098c8adeb020f2d | |
parent | d606233833677909bbe384670ef6aa788c03890c [diff] |
Fix use-after-free issue in Create*PipelineAsyncTasks::Run() This patch fixes a use-after-free issue in Create*PipelineAsyncTasks that when pipeline->Initialize() returns error, the pipeline object will be deleted, while we still attempt to call its member function after it is deleted. BUG=dawn:1310 TEST=dawn_unittests Change-Id: I57d5ca98d6c97b14df1d7c3bf2941c9cc87adeff Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/81800 Reviewed-by: Loko Kung <lokokung@google.com> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Austin Eng <enga@chromium.org>
Dawn is an open-source and cross-platform implementation of the work-in-progress WebGPU standard. More precisely it implements webgpu.h
that is a one-to-one mapping with the WebGPU IDL. Dawn is meant to be integrated as part of a larger system and is the underlying implementation of WebGPU in Chromium.
Dawn provides several WebGPU building blocks:
webgpu.h
version that Dawn implements.webgpu.h
.Helpful links:
Developer documentation:
User documentation: (TODO, figure out what overlaps with the webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.