[tor-bugs] #11820 [Obfsproxy]: circuit `NoneType` in obfs3 handshake callbacks

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu May 8 16:24:55 UTC 2014


#11820: circuit `NoneType` in obfs3 handshake callbacks
---------------------------+-----------------
     Reporter:  asn        |      Owner:  asn
         Type:  defect     |     Status:  new
     Priority:  normal     |  Milestone:
    Component:  Obfsproxy  |    Version:
   Resolution:             |   Keywords:
Actual Points:             |  Parent ID:
       Points:             |
---------------------------+-----------------

Comment (by asn):

 I'm not sure if it makes sense checking whether `self.circuit` exists, if
 we remove the code that sets it to `None`.

 As a fix to this bug, I'm thinking of using the fix to #11769 (that adds
 `self.closed` guards) and also removing the part of the code that sets
 `self.transport.circuit` to `None`.

 If this thing bites us again, we can do more elaborate fixes like the
 `@property` idea.

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


More information about the tor-bugs mailing list