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

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



#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        |   Keywords:
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------
 The tor_parse_long() functions and family can behave a little different on
 different platforms when the underlying strto* functions behave
 differently.  This is exacerbated by use of bases other than 10, as we
 found on  #22789.  Let's stop using "base 0" (the 'autodetect' base)
 anywhere in our code.

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