commit | a6a90a050b8194525de0ae6ca1363de10b03f091 | [log] [tgz] |
---|---|---|
author | Austin Eng <enga@chromium.org> | Mon May 23 19:53:30 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon May 23 19:53:30 2022 |
tree | 5280266beaebeea3f76b8b387551aeab99d6ba46 | |
parent | 069e50731f11303bd449ac19af27682ad5ff9187 [diff] |
CHECK that detaching a mapped GPUBuffer was successful Some ArrayBuffers are not detachable meaning failure to detach can result in JavaScript being able to create array buffers pointing to the same memory. Add a CHECK to crash the page to prevent this use-after-free until we figure out a better mitigation. Bug: 1326210 Change-Id: Ie3c559049693cda0d7813eb48fa8c15f205eaf2a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3651746 Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Austin Eng <enga@chromium.org> Cr-Commit-Position: refs/branch-heads/5060@{#193} Cr-Branched-From: b83393d0f4038aeaf67f970a024d8101df7348d1-refs/heads/main@{#1002911}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.