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 e17eee4894be from v8 #37192

Merged
merged 2 commits into from
Feb 9, 2023

Conversation

VerteDinde
Copy link
Member

[wasm] Fix printing of wasm-to-js frames

After https://crrev.com/c/3859787 those frames would be printed like
standard Wasm frames, but in the place of the WasmInstanceObject, they
have a WasmApiFunctionRef object instead.
So special-case the {WasmToJsFrame::instance()} to load the instance
properly. Also special-case the {position()} accessor for imported
functions.

R=victorgomes@chromium.org

Bug: chromium:1402270
Change-Id: I39805805a50e7a73d7d8075c63c46bdf5a373a33
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4116778
Reviewed-by: Nico Hartmann nicohartmann@chromium.org
Commit-Queue: Clemens Backes clemensb@chromium.org
Reviewed-by: Victor Gomes victorgomes@chromium.org
Cr-Commit-Position: refs/heads/main@{#84993}

Ref electron/security#275

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

@VerteDinde VerteDinde requested a review from a team as a code owner February 8, 2023 21:52
@VerteDinde VerteDinde added security 🔒 semver/patch backwards-compatible bug fixes backport-check-skip Skip trop's backport validity checking 22-x-y labels Feb 8, 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 Feb 8, 2023
@codebytere codebytere merged commit 1ae86b3 into 22-x-y Feb 9, 2023
@codebytere codebytere deleted the cherry-pick/22-x-y/v8/e17eee4894be branch February 9, 2023 11:28
@release-clerk
Copy link

release-clerk bot commented Feb 9, 2023

Release Notes Persisted

Security: backported fix for CVE-2023-0696.

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

2 participants