[tor-bugs] #29899 [Core Tor/Stem]: Descriptor exit_policy can raise TypeError?

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun May 5 01:44:05 UTC 2019


#29899: Descriptor exit_policy can raise TypeError?
---------------------------+------------------------
 Reporter:  juga           |          Owner:  atagar
     Type:  defect         |         Status:  new
 Priority:  Medium         |      Milestone:
Component:  Core Tor/Stem  |        Version:
 Severity:  Normal         |     Resolution:
 Keywords:                 |  Actual Points:
Parent ID:                 |         Points:
 Reviewer:                 |        Sponsor:
---------------------------+------------------------

Comment (by atagar):

 Hi juga, sorry this has gone so long without a reply! Looks to be a
 concurrency bug. Our get_rules() helper isn't thread safe, and I can see
 how parallel requests to it could result in that stacktrace.

 I'd prefer for our ExitPolicy to remain lock free but I'll need to give
 this some thought.

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


More information about the tor-bugs mailing list