[tor-bugs] #12948 [Tor]: TBB Linux 4.0-Alpha-1 HashedControlPassword not working

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Aug 27 03:42:53 UTC 2014


#12948: TBB Linux 4.0-Alpha-1 HashedControlPassword not working
-------------------------+-------------------------------------------------
     Reporter:  vis15    |      Owner:  isis
         Type:  defect   |     Status:  accepted
     Priority:  normal   |  Milestone:  Tor: unspecified
    Component:  Tor      |    Version:  Tor: unspecified
   Resolution:           |   Keywords:  TBB, Linux, HashedControlPassword,
Actual Points:           |  Alpha
       Points:           |  Parent ID:
-------------------------+-------------------------------------------------

Comment (by arma):

 Confirmed: this patch fixes it for me:
 {{{
 index 6bb6209..921503b 100644
 --- a/src/or/config.c
 +++ b/src/or/config.c
 @@ -1932,7 +1932,8 @@ config_parse_commandline(int argc, char **argv, int
 ignore
      }

      param = tor_malloc_zero(sizeof(config_line_t));
 -    param->key = is_cmdline ? tor_strdup(argv[i]) : tor_strdup(s);
 +    param->key = is_cmdline ? tor_strdup(argv[i]) :
 +                   tor_strdup(config_expand_abbrev(&options_format, s, 1,
 1));
      param->value = arg;
      param->command = command;
      param->next = NULL;
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/12948#comment:12>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list