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 b5c9e5efe5dd from chromium #37693

Merged
merged 4 commits into from
Mar 29, 2023

Conversation

ppontes
Copy link
Member

@ppontes ppontes commented Mar 24, 2023

Merge M110: "Improve checks for VideoFrame layouts."

Adds a VideoFrameLayout::IsValidForSize(size) method which clients can
use to verify a VideoFrameLayout for their purpose. Updates a few call
sites to use the new verifier and adds tests.

(cherry picked from commit 17f73200c066158330542c19d521c517586533a2)

Fixed: 1421268
Change-Id: I51049ada6119eddb31cdd9b7edfe77ee65b1da7a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4307674
Auto-Submit: Dale Curtis dalecurtis@chromium.org
Reviewed-by: Hirokazu Honda hiroh@chromium.org
Reviewed-by: Dominick Ng dominickn@chromium.org
Commit-Queue: Dominick Ng dominickn@chromium.org
Cr-Original-Commit-Position: refs/heads/main@{#1116233}
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4342492
Cr-Commit-Position: refs/branch-heads/5481@{#1361}
Cr-Branched-From: 130f3e4d850f4bc7387cfb8d08aa993d288a67a9-refs/heads/main@{#1084008}

Ref electron/security#302

Notes: Security: backported fix for CVE-2023-1532.

@ppontes ppontes requested a review from a team as a code owner March 24, 2023 09:02
@ppontes ppontes added security 🔒 semver/patch backwards-compatible bug fixes backport-check-skip Skip trop's backport validity checking 22-x-y labels Mar 24, 2023
@electron-cation electron-cation bot added new-pr 🌱 PR opened in the last 24 hours and removed new-pr 🌱 PR opened in the last 24 hours labels Mar 24, 2023
@codebytere codebytere merged commit 0b17a20 into 22-x-y Mar 29, 2023
4 checks passed
@codebytere codebytere deleted the cherry-pick/22-x-y/chromium/b5c9e5efe5dd branch March 29, 2023 10:14
@release-clerk
Copy link

release-clerk bot commented Mar 29, 2023

Release Notes Persisted

Security: backported fix for CVE-2023-1532.

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

3 participants