[tor-bugs] #15214 [Tor]: networkstatus_compute_consensus() is unreasonably large and should be refactored

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Mar 10 15:00:16 UTC 2015


#15214: networkstatus_compute_consensus() is unreasonably large and should be
refactored
--------------------+------------------------------------
 Reporter:  andrea  |          Owner:
     Type:  defect  |         Status:  new
 Priority:  normal  |      Milestone:  Tor: 0.2.7.x-final
Component:  Tor     |        Version:  Tor: unspecified
 Keywords:          |  Actual Points:
Parent ID:          |         Points:
--------------------+------------------------------------
 I count 874 lines (while auditing strlcat()/strlcpy() calls).  Did
 Minicode raise our function call ration from 25 to 20 per 100 kloc the
 week this was written?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/15214>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list