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

Issue 23800003: Fixe use after free during destruction (Closed)

Created:
7 years, 3 months ago by sky
Modified:
7 years, 3 months ago
Reviewers:
Avi (use Gerrit)
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

Fixe use after free during destruction Problem scenario happened because destroying a tab was triggering updating another tab. When the other tab updated various BrowserWindow methods were called when BrowserView was in a bad state (part way through destruction). In theory if detaching tried to update state we would end up in the same situation as this fixes, but that seems less likely. BUG=236389 TEST=covered by test now R=avi@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221337

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -4 lines) Patch
M chrome/browser/ui/views/frame/browser_view.cc View 2 chunks +12 lines, -4 lines 1 comment Download
A chrome/browser/ui/views/frame/browser_view_browsertest.cc View 1 chunk +56 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
sky
7 years, 3 months ago (2013-09-04 21:03:26 UTC) #1
Avi (use Gerrit)
lgtm m https://codereview.chromium.org/23800003/diff/1/chrome/browser/ui/views/frame/browser_view.cc File chrome/browser/ui/views/frame/browser_view.cc (right): https://codereview.chromium.org/23800003/diff/1/chrome/browser/ui/views/frame/browser_view.cc#newcode472 chrome/browser/ui/views/frame/browser_view.cc:472: } Wow, this code is even sketchier ...
7 years, 3 months ago (2013-09-04 21:10:44 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/23800003/1
7 years, 3 months ago (2013-09-04 21:17:47 UTC) #3
commit-bot: I haz the power
7 years, 3 months ago (2013-09-05 03:34:55 UTC) #4
Message was sent while issue was closed.
Change committed as 221337

Powered by Google App Engine
This is Rietveld 408576698