[tor-bugs] #31475 [Core Tor/Tor]: config: stop using atof()
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Aug 20 18:21:12 UTC 2019
#31475: config: stop using atof()
------------------------------+--------------------------------
Reporter: nickm | Owner: (none)
Type: defect | Status: new
Priority: Low | Milestone: Tor: 0.4.2.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Keywords:
Actual Points: | Parent ID:
Points: 0.5 | Reviewer:
Sponsor: |
------------------------------+--------------------------------
The atof() call can't detect errors in a reasonable way, but we still use
it when parsing configuration files. We should fix that.
Let's not touch this till after #29211 is done, since that code is in
flux.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/31475>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list