commit | fc36dcfaa23772a4771dfdeb4df8d7b5d378a6a8 | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Thu May 09 20:36:58 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu May 09 20:36:58 2024 +0000 |
tree | 3e25d5b69f09adc3f5d34057fcd2264ab7c313aa | |
parent | 863fd22151f6538508005fc431e4eb6f4dd90bf7 [diff] |
[tint][ir] Fix UAF in validator The validator was returning a reference to an error, then adding a note which can resize the underlying vector in the diagnostic::List. Add a new method to List to reserve space for N more diagnostics to prevent the reallocation. Change-Id: I2de0e25957c26575ba9a94f78030e9f938b7c6fa Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/187661 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: James Price <jrprice@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Auto-Submit: Ben Clayton <bclayton@google.com>
Dawn is an open-source and cross-platform implementation of the 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)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.