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

Re: [tor-bugs] #1101 [Tor Client]: getinfo config-file doesn't handle relative paths well



#1101: getinfo config-file doesn't handle relative paths well
--------------------------------+-------------------------------------------
 Reporter:  arma                |           Type:  defect    
   Status:  new                 |       Priority:  major     
Milestone:  Tor: 0.2.3.x-final  |      Component:  Tor Client
  Version:  0.2.1.19            |     Resolution:  None      
 Keywords:  easy                |         Parent:            
   Points:                      |   Actualpoints:            
--------------------------------+-------------------------------------------

Comment(by krkhan):

 rransom_ explained on IRC how realpath() is not a good choice for this
 since it expands symlinks as well.

 I still have a question though. What's so bad about traversing symlinks if
 a SIGHUP shall reach load_torrc_from_disk() again anyway?

 Still, as per our discussion
 [https://github.com/krkhan/tor/commit/a9ea382e3462acd0677f5f102fc7e0fa6c0d434a
 here]'s an initial commit which prepends CWD on POSIX systems for
 filenames which do not start with '/' or '.'.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/1101#comment:6>
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