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

fix: ensure guest-embedder map is updated when webview is removed #23374

Conversation

trop[bot]
Copy link
Contributor

@trop trop bot commented May 1, 2020

Backport of #23342

See that PR for details.

Notes: fix crash with webview during some window management events like resize, scroll etc.

There are use cases of webview where the container holding the webview is not
actually destroyed first, instead just webview gets removed from DOM, in such
situations the browser process map is not updated accordingly and holds reference
to stale guest contents, and any window operations like scroll, resize or keyboard
events that has to chain through browser embedder will lead to UAF crash.

Ref: microsoft/vscode#92420
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label May 1, 2020
@trop trop bot requested a review from deepak1556 May 1, 2020 04:33
@trop trop bot added 9-x-y backport This is a backport PR labels May 1, 2020
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label May 1, 2020
@deepak1556 deepak1556 merged commit ee68e1a into 9-x-y May 1, 2020
@release-clerk
Copy link

release-clerk bot commented May 1, 2020

Release Notes Persisted

fix crash with webview during some window management events like resize, scroll etc.

@deepak1556 deepak1556 deleted the trop/9-x-y-bp-fix-ensure-guest-embedder-map-is-updated-when-webview-is-removed-1588307613309 branch May 1, 2020 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
9-x-y backport This is a backport PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant