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

Issue 7134008: Revert 88151 (see crbug.com/85296) - Fix user-after-free error with ObserverList. The problem is... (Closed)

Created:
9 years, 6 months ago by Nico
Modified:
9 years, 6 months ago
Reviewers:
jam
CC:
chromium-reviews, joi+watch-content_chromium.org, brettw-cc_chromium.org, jam, Paweł Hajdan Jr.
Visibility:
Public.

Description

Revert 88151 (see crbug.com/85296) - Fix user-after-free error with ObserverList. The problem is that if an ObserverListBase::Iterator is on the stack and one of the observers deletes the object holding the list, Iterator's destructor will use the deleted list. BUG=84919 Review URL: http://codereview.chromium.org/7127001 TBR=jam@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=88284

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -39 lines) Patch
M base/observer_list.h View 4 chunks +7 lines, -11 lines 0 comments Download
M base/observer_list_unittest.cc View 1 chunk +0 lines, -23 lines 0 comments Download
M content/browser/renderer_host/render_view_host.cc View 1 chunk +9 lines, -5 lines 0 comments Download

Messages

Total messages: 1 (0 generated)
Nico
9 years, 6 months ago (2011-06-08 05:07:23 UTC) #1

          

Powered by Google App Engine
This is Rietveld 408576698