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

Issue 1710653002: Prevent creation of the GnubbyExtension if no socket name is defined. (Closed)

Created:
4 years, 10 months ago by joedow
Modified:
4 years, 10 months ago
Reviewers:
Lambros
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Prevent creation of the GnubbyExtension if no socket name is defined. This change fixes a DCHECK on linux when the host is run without specifying a socket name. Typically the host has a name passed in as an argument however it is not required and may be skipped for a number of reasons. The fix here is to skip the creation of the GnubbyExtension if a socket name is not passed in. The net effect of this is that if a CRD client passes a gnubby-auth extension message, the ClientSession will look for a registered extension to handle the message (which won't exist) and the message will be ignored. BUG=587622 Committed: https://crrev.com/1002bde384f0a529949d2861b947110af0f91929 Cr-Commit-Position: refs/heads/master@{#376079}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Updating flag usage for enabling extension creation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -6 lines) Patch
M remoting/host/remoting_me2me_host.cc View 1 5 chunks +10 lines, -6 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
joedow
PTAL!
4 years, 10 months ago (2016-02-17 23:35:28 UTC) #2
Lambros
lgtm https://codereview.chromium.org/1710653002/diff/1/remoting/host/remoting_me2me_host.cc File remoting/host/remoting_me2me_host.cc (right): https://codereview.chromium.org/1710653002/diff/1/remoting/host/remoting_me2me_host.cc#newcode431 remoting/host/remoting_me2me_host.cc:431: bool skip_gnubby_extension_creation_; Optional: Maybe better to invert the ...
4 years, 10 months ago (2016-02-18 01:02:39 UTC) #3
joedow
Thanks! https://codereview.chromium.org/1710653002/diff/1/remoting/host/remoting_me2me_host.cc File remoting/host/remoting_me2me_host.cc (right): https://codereview.chromium.org/1710653002/diff/1/remoting/host/remoting_me2me_host.cc#newcode431 remoting/host/remoting_me2me_host.cc:431: bool skip_gnubby_extension_creation_; On 2016/02/18 01:02:39, Lambros wrote: > ...
4 years, 10 months ago (2016-02-18 02:24:37 UTC) #4
joedow
Thanks!
4 years, 10 months ago (2016-02-18 02:24:37 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1710653002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1710653002/20001
4 years, 10 months ago (2016-02-18 02:25:57 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 10 months ago (2016-02-18 02:57:25 UTC) #9
commit-bot: I haz the power
4 years, 10 months ago (2016-02-18 02:58:38 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/1002bde384f0a529949d2861b947110af0f91929
Cr-Commit-Position: refs/heads/master@{#376079}

Powered by Google App Engine
This is Rietveld 408576698