Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(169)

Issue 15649007: Attempt to fix use-after-free in VersionUpdaterWin. (Closed)

Created:
7 years, 6 months ago by grt (UTC plus 2)
Modified:
7 years, 6 months ago
Reviewers:
MAD, Evan Stade
CC:
chromium-reviews
Visibility:
Public.

Description

Attempt to fix use-after-free in VersionUpdaterWin. I've been unable to repro the crash, but perhaps there's a way for VersionUpdaterWin::OnReportResults to be invoked twice. This change detaches the VersionUpdaterWin instance from the GoogleUpdate instance when it releases its reference. BUG=236413, 242895 R=mad@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202707

Patch Set 1 #

Patch Set 2 : one more spot #

Total comments: 2

Patch Set 3 : Set -> Create #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -9 lines) Patch
M chrome/browser/ui/webui/help/version_updater_win.cc View 1 2 6 chunks +19 lines, -9 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
grt (UTC plus 2)
7 years, 6 months ago (2013-05-28 18:59:57 UTC) #1
MAD
LGTM with one request... Thanks! BYE MAD https://codereview.chromium.org/15649007/diff/1002/chrome/browser/ui/webui/help/version_updater_win.cc File chrome/browser/ui/webui/help/version_updater_win.cc (right): https://codereview.chromium.org/15649007/diff/1002/chrome/browser/ui/webui/help/version_updater_win.cc#newcode261 chrome/browser/ui/webui/help/version_updater_win.cc:261: void VersionUpdaterWin::SetGoogleUpdater() ...
7 years, 6 months ago (2013-05-28 19:37:06 UTC) #2
grt (UTC plus 2)
Thanks. +estade for OWNERS review. https://codereview.chromium.org/15649007/diff/1002/chrome/browser/ui/webui/help/version_updater_win.cc File chrome/browser/ui/webui/help/version_updater_win.cc (right): https://codereview.chromium.org/15649007/diff/1002/chrome/browser/ui/webui/help/version_updater_win.cc#newcode261 chrome/browser/ui/webui/help/version_updater_win.cc:261: void VersionUpdaterWin::SetGoogleUpdater() { On ...
7 years, 6 months ago (2013-05-28 19:49:08 UTC) #3
MAD
Cool, thanks, agreed, still LGTM! BYE MAD
7 years, 6 months ago (2013-05-28 20:31:00 UTC) #4
Evan Stade
lgtm
7 years, 6 months ago (2013-05-28 21:24:22 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grt@chromium.org/15649007/6002
7 years, 6 months ago (2013-05-28 22:30:02 UTC) #6
commit-bot: I haz the power
7 years, 6 months ago (2013-05-29 00:27:00 UTC) #7
Message was sent while issue was closed.
Change committed as 202707

Powered by Google App Engine
This is Rietveld 408576698