[tor-bugs] #22802 [Core Tor/Tor]: Avoid use of "0" with tor_parse_foo()

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jul 4 16:45:20 UTC 2017


#22802: Avoid use of "0" with tor_parse_foo()
--------------------------+------------------------------------
 Reporter:  nickm         |          Owner:
     Type:  defect        |         Status:  new
 Priority:  Medium        |      Milestone:  Tor: 0.3.2.x-final
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:                |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------------------

Comment (by teor):

 In #22469, tor accepts 0x00 as a port number in the torrc, despite it
 being against the spec. I wonder if we do the same thing when parsing
 ports in other contexts?

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


More information about the tor-bugs mailing list