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

Issue 9829006: [chromoting] Fix crash when generating access code (Closed)

Created:
8 years, 9 months ago by Alpha Left Google
Modified:
8 years, 9 months ago
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, simonmorris+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

[chromoting] Fix crash when generating access code Chromoting host plugin uses a class that accesses CommandLine::ForCurrentProcess() which returns NULL because it is not initialized Avoid this crash by having a different static constructor that creates a DesktopEnvironment not using this class. BUG=118003 TEST=Load the latest plugin, generate access code without crash Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=128147

Patch Set 1 #

Total comments: 6

Patch Set 2 : fixed nits #

Patch Set 3 : merged #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -3 lines) Patch
M remoting/host/desktop_environment.h View 1 1 chunk +8 lines, -1 line 0 comments Download
M remoting/host/desktop_environment.cc View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
M remoting/host/remoting_me2me_host.cc View 1 2 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Alpha Left Google
8 years, 9 months ago (2012-03-21 23:26:17 UTC) #1
alexeypa (please no reviews)
LGTM with a few nits. http://codereview.chromium.org/9829006/diff/1/remoting/host/desktop_environment.cc File remoting/host/desktop_environment.cc (right): http://codereview.chromium.org/9829006/diff/1/remoting/host/desktop_environment.cc#newcode40 remoting/host/desktop_environment.cc:40: scoped_ptr<DesktopEnvironment> DesktopEnvironment::CreateForService( Oh, well. ...
8 years, 9 months ago (2012-03-21 23:39:12 UTC) #2
Alpha Left Google
http://codereview.chromium.org/9829006/diff/1/remoting/host/desktop_environment.h File remoting/host/desktop_environment.h (right): http://codereview.chromium.org/9829006/diff/1/remoting/host/desktop_environment.h#newcode31 remoting/host/desktop_environment.h:31: // Create a DesktopEnvironment used in a service process. ...
8 years, 9 months ago (2012-03-21 23:43:27 UTC) #3
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
8 years, 9 months ago (2012-03-21 23:44:07 UTC) #4
Alpha Left Google
8 years, 9 months ago (2012-03-21 23:48:25 UTC) #5
Wez
On 2012/03/21 23:44:07, I haz the power (commit-bot) wrote: > No LGTM from a valid ...
8 years, 9 months ago (2012-03-21 23:48:39 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hclam@chromium.org/9829006/5001
8 years, 9 months ago (2012-03-21 23:49:38 UTC) #7
commit-bot: I haz the power
Can't apply patch for file remoting/host/desktop_environment.cc. While running patch -p1 --forward --force; patching file remoting/host/desktop_environment.cc ...
8 years, 9 months ago (2012-03-21 23:49:55 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hclam@chromium.org/9829006/9002
8 years, 9 months ago (2012-03-22 01:46:48 UTC) #9
commit-bot: I haz the power
8 years, 9 months ago (2012-03-22 02:56:23 UTC) #10
Change committed as 128147

Powered by Google App Engine
This is Rietveld 408576698