[tor-bugs] #8304 [Vidalia]: When multiple `SocksPort` options are written in Vidalia's `torrc` dialog window, only the last one is actually written to disk.

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Mar 2 04:29:01 UTC 2013


#8304: When multiple `SocksPort` options are written in Vidalia's `torrc` dialog
window, only the last one is actually written to disk.
---------------------+------------------------------------------------------
 Reporter:  meitar   |          Owner:  chiiph         
     Type:  defect   |         Status:  new            
 Priority:  normal   |      Milestone:                 
Component:  Vidalia  |        Version:  Vidalia: 0.2.21
 Keywords:           |         Parent:                 
   Points:           |   Actualpoints:                 
---------------------+------------------------------------------------------

Comment(by malaparte_):

 Line 123 of TorrcDialog.cpp shows that when it parses the configuration
 file it puts each config option into a hash table. So what is happening is
 that "SocksPort" is being written as one key then over written again as
 "SocksPort" with the new value.

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


More information about the tor-bugs mailing list