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

Issue 471803002: athena: Fix a use-after-free case. (Closed)

Created:
6 years, 4 months ago by sadrul
Modified:
6 years, 4 months ago
Reviewers:
oshima, mfomitchev
CC:
chromium-reviews
Project:
chromium
Visibility:
Public.

Description

athena: Fix a use-after-free case. |split_view_controller_| depends on |mru_window_tracker_|. So destroy them in the correct order to avoid the use-after-free when destroying the window manager. BUG=none TBR=mfomitchev@chromium.org, oshima@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289464

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M athena/wm/window_manager_impl.cc View 1 chunk +1 line, -0 lines 1 comment Download

Messages

Total messages: 3 (0 generated)
sadrul
6 years, 4 months ago (2014-08-14 04:07:18 UTC) #1
sadrul
Committed patchset #1 manually as 289464 (presubmit successful).
6 years, 4 months ago (2014-08-14 05:15:06 UTC) #2
mfomitchev
6 years, 4 months ago (2014-08-14 13:10:02 UTC) #3
Message was sent while issue was closed.
https://codereview.chromium.org/471803002/diff/1/athena/wm/window_manager_imp...
File athena/wm/window_manager_impl.cc (right):

https://codereview.chromium.org/471803002/diff/1/athena/wm/window_manager_imp...
athena/wm/window_manager_impl.cc:138: split_view_controller_.reset();
Ugh. Thanks. Sorry, I should've done the Asan build myself.
Should we destroy the bezel_controller_ explicitly here as well since it holds a
raw pointer to container_ and to split_view_controller?

Powered by Google App Engine
This is Rietveld 408576698