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

Issue 405883003: Fix a null pointer dereference in CreateProfileHandler (Closed)

Created:
6 years, 5 months ago by Marc Treib
Modified:
6 years, 5 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, noms (inactive)
Project:
chromium
Visibility:
Public.

Description

Fix a null pointer dereference in CreateProfileHandler::ShowProfileCreationError. The ProfileManager can call its callback (which points to CreateProfileHandler::OnProfileCreated) with a NULL profile (https://code.google.com/p/chromium/codesearch#chromium/src/chrome/browser/profiles/profile_manager.cc&l=397). This case was not handled in CreateProfileHandler::ShowProfileCreationError. BUG=395558 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284667

Patch Set 1 #

Total comments: 2

Patch Set 2 : add comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M chrome/browser/ui/webui/options/create_profile_handler.cc View 1 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
Marc Treib
PTAL!
6 years, 5 months ago (2014-07-21 14:32:03 UTC) #1
noms (inactive)
https://codereview.chromium.org/405883003/diff/1/chrome/browser/ui/webui/options/create_profile_handler.cc File chrome/browser/ui/webui/options/create_profile_handler.cc (right): https://codereview.chromium.org/405883003/diff/1/chrome/browser/ui/webui/options/create_profile_handler.cc#newcode286 chrome/browser/ui/webui/options/create_profile_handler.cc:286: if (profile) Would you mind adding a comment as ...
6 years, 5 months ago (2014-07-21 14:41:24 UTC) #2
Bernhard Bauer
LGTM modulo noms' comment.
6 years, 5 months ago (2014-07-21 14:45:27 UTC) #3
Marc Treib
https://codereview.chromium.org/405883003/diff/1/chrome/browser/ui/webui/options/create_profile_handler.cc File chrome/browser/ui/webui/options/create_profile_handler.cc (right): https://codereview.chromium.org/405883003/diff/1/chrome/browser/ui/webui/options/create_profile_handler.cc#newcode286 chrome/browser/ui/webui/options/create_profile_handler.cc:286: if (profile) On 2014/07/21 14:41:24, Monica Dinculescu wrote: > ...
6 years, 5 months ago (2014-07-21 15:07:20 UTC) #4
Marc Treib
The CQ bit was checked by treib@chromium.org
6 years, 5 months ago (2014-07-22 08:01:49 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/treib@chromium.org/405883003/20001
6 years, 5 months ago (2014-07-22 08:02:59 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-22 09:55:54 UTC) #7
commit-bot: I haz the power
6 years, 5 months ago (2014-07-22 12:14:33 UTC) #8
Message was sent while issue was closed.
Change committed as 284667

Powered by Google App Engine
This is Rietveld 408576698