[tor-bugs] #28250 [Core Tor/Tor]: "___UsingTestNetworkDefaults" not in "GETINFO config/names"

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Oct 30 20:27:05 UTC 2018


#28250: "___UsingTestNetworkDefaults" not in "GETINFO config/names"
--------------------------+-------------------------------
 Reporter:  Logforme      |          Owner:  (none)
     Type:  enhancement   |         Status:  new
 Priority:  Very Low      |      Milestone:
Component:  Core Tor/Tor  |        Version:  Tor: 0.3.3.10
 Severity:  Trivial       |     Resolution:
 Keywords:                |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+-------------------------------

Comment (by Logforme):

 Had a look in the source code. Seems it's deliberately kept out of the
 config/names list:
 config.c line 8173:
 {{{
 /* don't tell controller about triple-underscore options */
 if (!strncmp(option_vars_[i].name, "___", 3))
    continue;
 }}}
 Shouldn't it use the vars pointer instead?
 {{{
 /* don't tell controller about triple-underscore options */
 if (!strncmp(vars->name, "___", 3))
    continue;
 }}}
 Guess those lines should be added to the config/defaults handling as well
 in config.c line 8214

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


More information about the tor-bugs mailing list