[tor-bugs] #32352 [Core Tor/Tor]: Stop adding a space when dumping an empty config value

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Nov 1 04:43:59 UTC 2019


#32352: Stop adding a space when dumping an empty config value
------------------------------+---------------------------------------
     Reporter:  teor          |      Owner:  teor
         Type:  defect        |     Status:  assigned
     Priority:  Medium        |  Milestone:  Tor: 0.4.3.x-final
    Component:  Core Tor/Tor  |    Version:  Tor: unspecified
     Severity:  Normal        |   Keywords:  BugSmashFund, no-backport
Actual Points:  0.1           |  Parent ID:  #32213
       Points:  0.1           |   Reviewer:
      Sponsor:                |
------------------------------+---------------------------------------
 We unconditionally add a space when dumping torrc files, even if there is
 no option value. (Which is rare, but does happen with some list options.)

 The extra space is unnecessary and we should remove it.

 This bug has been around since Tor 0.0.9pre6.

 The fix is in this commit, I need to extract it and add a changes file:
 https://github.com/torproject/tor/pull/1477/commits/67d0178f1aba0a424364acc1c9f9dff2c72886a4

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


More information about the tor-bugs mailing list