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

Issue 11092058: Merge 161049 - [chromeos] Fix a use-after-free problem with LoginEventObserver (Closed)

Created:
8 years, 2 months ago by hshi1
Modified:
8 years, 2 months ago
Reviewers:
hshi
CC:
chromium-reviews, robertshield, kkania
Visibility:
Public.

Description

Merge 161049 - [chromeos] Fix a use-after-free problem with LoginEventObserver Always use the static function ExistingUserController::current_controller() to obtain the pointer to the current user controller object. This is to prevent heap corruption when LoginEventObserver::Observe() is called after the controller is already freed. BUG=150568 TEST=tryserver Review URL: https://codereview.chromium.org/11088032 TBR=hshi@google.com Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=161188

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -14 lines) Patch
M chrome/browser/automation/automation_event_observers.h View 3 chunks +0 lines, -8 lines 0 comments Download
M chrome/browser/automation/automation_event_observers_chromeos.cc View 2 chunks +10 lines, -4 lines 0 comments Download
M chrome/browser/automation/testing_automation_provider_chromeos.cc View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 1 (0 generated)
hshi1
8 years, 2 months ago (2012-10-10 21:11:13 UTC) #1

          

Powered by Google App Engine
This is Rietveld 408576698