Skip to content

Conversation

@nornagon
Copy link
Contributor

@nornagon nornagon commented Apr 6, 2020

Speculative fix for crashes in ~FileChooserImpl()

FileChooserImpl can outlive ListenerProxy. We should clear
FileChooserImpl::proxy_ on ~ListenerProxy().

This CL has no tests. We don't know how to reproduce crashes.

Bug: 1054260
Change-Id: I2be7a8957f2f725c51081961357ef09f6dabb823
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2067819
Commit-Queue: Kent Tamura tkent@chromium.org
Reviewed-by: Avi Drissman avi@chromium.org
Reviewed-by: Matthew Denton mpdenton@chromium.org
Cr-Commit-Position: refs/heads/master@{#744142}

Notes: Security: Backported fix for use after free in file chooser.

@nornagon nornagon requested a review from a team as a code owner April 6, 2020 19:27
@nornagon nornagon added the 7-2-x label Apr 6, 2020
@electron-cation electron-cation bot added the new-pr 🌱 PR opened recently label Apr 6, 2020
@nornagon nornagon added the backport-check-skip Skip trop's backport validity checking label Apr 6, 2020
@nornagon nornagon requested a review from a team April 7, 2020 18:08
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened recently label Apr 7, 2020
Copy link
Member

@deepak1556 deepak1556 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Build needs fix

@nornagon nornagon merged commit 35cb95b into 7-2-x Apr 9, 2020
@release-clerk
Copy link

release-clerk bot commented Apr 9, 2020

Release Notes Persisted

Security: Backported fix for use after free in file chooser.

@nornagon nornagon deleted the cherry-pick/7-2-x/chromium/728c6deeffe1 branch April 9, 2020 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

7-2-x backport-check-skip Skip trop's backport validity checking

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants