[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [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.



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