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: crashes in RenderFrameImpl::OnSelectPopupMenuItem(s) #17659

Conversation

miniak
Copy link
Contributor

@miniak miniak commented Apr 2, 2019

Description of Change

Backport fix for https://bugs.chromium.org/p/chromium/issues/detail?id=912211
https://chromium-review.googlesource.com/c/chromium/src/+/1381325

Fix crashes in RenderFrameImpl::OnSelectPopupMenuItem(s)

ExternalPopupMenu::DidSelectItem(s) can delete the RenderFrameImpl.
We need to reset external_popup_menu_ before calling it.

/cc @electron/wg-security

Checklist

Release Notes

Notes: Backported fix for crashes in RenderFrameImpl::OnSelectPopupMenuItem(s).

@miniak miniak self-assigned this Apr 2, 2019
@miniak miniak requested a review from a team April 2, 2019 15:50
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Apr 2, 2019
@miniak miniak changed the title fix: Issue 912211: Security: a use-after-free in RenderFrameImple can lead to an RCE fix: backport 912211 Apr 2, 2019
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Apr 3, 2019
@codebytere codebytere changed the title fix: backport 912211 fix: crashes in RenderFrameImpl::OnSelectPopupMenuItem(s) Apr 4, 2019
@codebytere codebytere merged commit 492397b into 4-1-x Apr 4, 2019
@release-clerk
Copy link

release-clerk bot commented Apr 4, 2019

Release Notes Persisted

Backported fix for crashes in RenderFrameImpl::OnSelectPopupMenuItem(s).

@codebytere codebytere deleted the miniak/fix_crashes_in_renderframeimpl_onselectpopupmenuitem_s-4-1-x branch April 4, 2019 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants