[tor-bugs] #24489 [Core Tor/Tor]: Add some consts to networkstatus_getinfo_by_purpose()
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sat Dec 2 10:15:29 UTC 2017
#24489: Add some consts to networkstatus_getinfo_by_purpose()
------------------------------+--------------------------------
Reporter: teor | Owner: (none)
Type: enhancement | Status: new
Priority: Medium | Milestone: Tor: 0.3.3.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Keywords: code-correctness
Actual Points: 0.1 | Parent ID:
Points: 0.1 | Reviewer:
Sponsor: |
------------------------------+--------------------------------
We shouldn't modify any of the data structures passed to
networkstatus_getinfo_by_purpose(). But the current design modifies the
running flag in the GETINFO.
The patch I'm about to post makes sure we don't accidentally modify any
more of the data structures.
Thanks to komlo - the patch was her idea, and she helped create it.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24489>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list