Navigation Menu

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 13ffdf63a471 from v8 #34881

Merged
merged 2 commits into from Jul 12, 2022

Conversation

ppontes
Copy link
Member

@ppontes ppontes commented Jul 11, 2022

Merged: [compiler] make CanCover() transitive

In addition to checking that a node is owned, CanCover() also needs to
check if there are any side-effects in between the current node and
the merged node. When merging inputs of inputs, this check was done
with the wrong side-effect level of the in-between node.
We partially fixed this before with CanCoverTransitively.
This CL addresses the issue by always comparing to the side-effect
level of the node from which we started, making CanCoverTransitively
superfluous.

Bug: chromium:1336869
(cherry picked from commit 6048f754931e0971cab58fb0de785482d175175b)

Change-Id: I63cf6bfdd40c2c55921db4a2ac737612bb7da4e4
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3722095
Reviewed-by: Nico Hartmann nicohartmann@chromium.org
Cr-Commit-Position: refs/branch-heads/10.2@{#19}
Cr-Branched-From: 374091f382e88095694c1283cbdc2acddc1b1417-refs/heads/10.2.154@{#1}
Cr-Branched-From: f0c353f6315eeb2212ba52478983a3b3af07b5b1-refs/heads/main@{#79976}

Ref electron/security#178

Notes: Security: backported fix for CVE-2022-2295.

@ppontes ppontes requested review from a team as code owners July 11, 2022 18:35
@ppontes ppontes added 18-x-y backport-check-skip Skip trop's backport validity checking security 🔒 semver/patch backwards-compatible bug fixes labels Jul 11, 2022
@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 Jul 11, 2022
@codebytere codebytere merged commit ecb9afd into 18-x-y Jul 12, 2022
@codebytere codebytere deleted the cherry-pick/18-x-y/v8/13ffdf63a471 branch July 12, 2022 08:16
@release-clerk
Copy link

release-clerk bot commented Jul 12, 2022

Release Notes Persisted

Security: backported fix for CVE-2022-2295.

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.

None yet

2 participants