Skip to content

chore: cherry-pick 22abbad430b6 from chromium#35004

Merged
nornagon merged 3 commits into18-x-yfrom
cherry-pick/18-x-y/chromium/22abbad430b6
Jul 21, 2022
Merged

chore: cherry-pick 22abbad430b6 from chromium#35004
nornagon merged 3 commits into18-x-yfrom
cherry-pick/18-x-y/chromium/22abbad430b6

Conversation

@nornagon
Copy link
Copy Markdown
Contributor

[M102-LTS] WebGPU: Mark the context lost on GPU context lost

M102 merge issues:

  • dawn_control_client_holder.h/cc:
    GetWGPUInstance() not present in M102

Fixes a bug where completely destructing the context instead of
marking it lost when receiving a context lost notification freed
memory still accessible by the page.

Fixed: 1336014
Change-Id: I662e531102af91362b4f62700bfbee507fc44d1f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3708646
Commit-Queue: Austin Eng enga@chromium.org
Cr-Commit-Position: refs/heads/main@{#1017003}
(cherry picked from commit 6c7f327b7a15aabd3fc5d57e9c05b95d02f1cd36)

Ref electron/security#186

Notes: Security: backported fix for 1336014.

@nornagon nornagon requested review from a team as code owners July 20, 2022 16:33
@nornagon nornagon added 18-x-y backport-check-skip Skip trop's backport validity checking security 🔒 semver/patch backwards-compatible bug fixes labels Jul 20, 2022
@electron-cation electron-cation Bot added new-pr 🌱 PR opened recently and removed new-pr 🌱 PR opened recently labels Jul 20, 2022
@nornagon nornagon merged commit 6757373 into 18-x-y Jul 21, 2022
@nornagon nornagon deleted the cherry-pick/18-x-y/chromium/22abbad430b6 branch July 21, 2022 17:29
@release-clerk
Copy link
Copy Markdown

release-clerk Bot commented Jul 21, 2022

Release Notes Persisted

Security: backported fix for 1336014.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

18-x-y backport-check-skip Skip trop's backport validity checking security 🔒 semver/patch backwards-compatible bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants