#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
_______________________________________________
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Reply via email to