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

Issue 10905179: Make OwnerKeyUtil thread safe as originally intended. (Closed)

Created:
8 years, 3 months ago by Mattias Nissler (ping if slow)
Modified:
8 years, 3 months ago
Reviewers:
pastarmovj
CC:
chromium-reviews, oshima+watch_chromium.org, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Make OwnerKeyUtil thread safe as originally intended. There are actually crash reports that indicate a crash when chromeos::SessionManagerOperation::LoadOwnerKey() calls into util->IsPublicKeyPresent(). The available data points at the vtable contents being invalid, which can happen due to improperly using base::RefCounted instead of base::RefCountedThreadSafe. BUG=chromium:147334 TEST=Less crashes. Manual or automated test not practical, search the crash database for SessionManagerOperation::LoadOwnerKey() and check that there are no crashes after the fix. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=155714

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M chrome/browser/chromeos/settings/owner_key_util.h View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Mattias Nissler (ping if slow)
LG? :)
8 years, 3 months ago (2012-09-10 09:52:17 UTC) #1
pastarmovj
lgtm
8 years, 3 months ago (2012-09-10 11:06:22 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mnissler@chromium.org/10905179/1
8 years, 3 months ago (2012-09-10 11:09:36 UTC) #3
commit-bot: I haz the power
8 years, 3 months ago (2012-09-10 13:26:36 UTC) #4
Change committed as 155714

Powered by Google App Engine
This is Rietveld 408576698