Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: cherry-pick d5ffb4dd4112 from chromium #36214

Merged
merged 5 commits into from Nov 3, 2022

Conversation

ppontes
Copy link
Member

@ppontes ppontes commented Nov 1, 2022

[M106 Merge] WebGPU: use CHECK instead of DCHECK to crash out of bounds write in SerializeDataUpdate

A comprised renderer could have a shared memory size not large enough
to fit the GPU buffer contents. Instead of DCHECK, do a CHECK here to
crash the release build. The crash is fine since it is not reachable
from normal behavior. WebGPU post-V1 will have a refactored API.

(cherry picked from commit 9bcbce75d5feaa1ba48a5d0d8036b5c77500bb67)

Fixed: 1373314
Change-Id: I8d8e1a469c2b10ff16e7363f9b6f7b63587cb007
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3946246
Reviewed-by: Austin Eng enga@chromium.org
Commit-Queue: Shrek Shao shrekshao@google.com
Cr-Original-Commit-Position: refs/heads/main@{#1058233}
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3956286
Owners-Override: Prudhvikumar Bommana pbommana@google.com
Reviewed-by: Prudhvikumar Bommana pbommana@google.com
Commit-Queue: Prudhvikumar Bommana pbommana@google.com
Cr-Commit-Position: refs/branch-heads/5249@{#850}
Cr-Branched-From: 4f7bea5de862aaa52e6bde5920755a9ef9db120b-refs/heads/main@{#1036826}

Notes: Security: backported fix for 1373314.

@ppontes ppontes requested review from a team as code owners November 1, 2022 21:14
@ppontes ppontes added 20-x-y backport-check-skip Skip trop's backport validity checking security 🔒 semver/patch backwards-compatible bug fixes labels Nov 1, 2022
@ppontes ppontes force-pushed the cherry-pick/20-x-y/chromium/d5ffb4dd4112 branch from 43e1c4e to c30fc80 Compare November 2, 2022 08:56
@jkleinsc jkleinsc merged commit e8b8ee1 into 20-x-y Nov 3, 2022
@jkleinsc jkleinsc deleted the cherry-pick/20-x-y/chromium/d5ffb4dd4112 branch November 3, 2022 16:26
@release-clerk
Copy link

release-clerk bot commented Nov 3, 2022

Release Notes Persisted

Security: backported fix for 1373314.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
20-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.

None yet

2 participants