#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 nickm):

 Replying to [comment:1 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?

 I'm not sure we actually do that here -- looking over the tor_parse_*
 functions, I couldn't find any that would have caused #22469.

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

Reply via email to