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

Issue 8776041: Fix use-after-free. OnChildDied deletes the current object, so we shouldn't call member functions... (Closed)

Created:
9 years ago by jam
Modified:
9 years ago
Reviewers:
cpu_(ooo_6.6-7.5)
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, dpranke-watch+content_chromium.org
Visibility:
Public.

Description

Fix use-after-free. OnChildDied deletes the current object, so we shouldn't call member functions afterwards. I'm refactoring this code in another cl, but figured I'd fix this separately to make things clearer. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112767

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -2 lines) Patch
M content/browser/browser_child_process_host.cc View 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
jam
9 years ago (2011-12-02 16:47:01 UTC) #1
cpu_(ooo_6.6-7.5)
9 years ago (2011-12-02 20:14:40 UTC) #2
lgtm

Powered by Google App Engine
This is Rietveld 408576698