[tor-bugs] #27053 [Core Tor/Stem]: Check controller's event error handling

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Aug 6 16:48:57 UTC 2018


#27053: Check controller's event error handling
-------------------------------+--------------------
     Reporter:  atagar         |      Owner:  atagar
         Type:  defect         |     Status:  new
     Priority:  Very High      |  Milestone:
    Component:  Core Tor/Stem  |    Version:
     Severity:  Major          |   Keywords:
Actual Points:                 |  Parent ID:
       Points:                 |   Reviewer:
      Sponsor:                 |
-------------------------------+--------------------
 Mike had a great question: 'what happens to events if there's an error?'.
 On reflection the answer is: nothing good.

 Our handle_event method parses events without any kind of error
 handling...

 https://gitweb.torproject.org/stem.git/tree/stem/control.py#n3876

 This would in turn break our event handling thread. Instead we should
 direct malformed events into a 'broken event' queue.

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


More information about the tor-bugs mailing list