[tor-bugs] #21142 [Core Tor/Tor]: prop271: circuits_pending_other_guards not properly maintained

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Jan 6 14:35:36 UTC 2017


#21142: prop271: circuits_pending_other_guards not properly maintained
--------------------------+------------------------------------
 Reporter:  asn           |          Owner:
     Type:  defect        |         Status:  new
 Priority:  Medium        |      Milestone:  Tor: 0.3.0.x-final
Component:  Core Tor/Tor  |        Version:  Tor: 0.3.0.1-alpha
 Severity:  Normal        |     Resolution:
 Keywords:  tor-guard     |  Actual Points:
Parent ID:                |         Points:  0.3
 Reviewer:                |        Sponsor:
--------------------------+------------------------------------

Comment (by asn):

 For now I'm testing a simple fix of adding:
 {{{
 +  if (circuits_pending_other_guards) {
 +    smartlist_remove(circuits_pending_other_guards, circ);
 +  }
 +
 }}}
 in `circuit_about_to_free()`. Seems to work so far.

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


More information about the tor-bugs mailing list