[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #24489 [Core Tor/Tor]: Add some consts to networkstatus_getinfo_by_purpose()
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs