[tor-bugs] #10416 [Core Tor/Tor]: Tor won't start on Windows when path contains non-ascii characters

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Nov 13 15:43:13 UTC 2019


#10416: Tor won't start on Windows when path contains non-ascii characters
-------------------------------------------------+-------------------------
 Reporter:  iktsuarpok                           |          Owner:  ahf
     Type:  defect                               |         Status:
                                                 |  assigned
 Priority:  High                                 |      Milestone:  Tor:
                                                 |  0.4.2.x-final
Component:  Core Tor/Tor                         |        Version:  Tor:
                                                 |  0.2.3.25
 Severity:  Major                                |     Resolution:
 Keywords:  tor-client, windows, unicode,        |  Actual Points:
  win32, tbb-needs, 042-should                   |
Parent ID:  #25729                               |         Points:  1
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by nickm):

 In case anybody knows the right way to fix this, the function where we get
 the default config path is get_windows_conf_root() in config.c.  A fix
 should be a comparatively simple fix _if_ there is a string of characters
 we can give to open() to make these filenames work, and if we can get such
 a string out of Windows.  But if we need to have filenames be something
 other than char*, then we will need to have a completely separate filename
 type.  If that happens, the fix won't be easy or small.

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


More information about the tor-bugs mailing list