[tor-bugs] #22802 [Core Tor/Tor]: Avoid use of "0" with tor_parse_foo()
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Jul 3 15:12:58 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 | 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
More information about the tor-bugs
mailing list