[tor-bugs] #5156 [Obfsproxy]: assertion failure at src/network.c:931: circ

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Wed Feb 22 01:27:08 UTC 2012


#5156: assertion failure at src/network.c:931: circ
-----------------------+----------------------------------------------------
 Reporter:  arma       |          Owner:  asn
     Type:  defect     |         Status:  new
 Priority:  normal     |      Milestone:     
Component:  Obfsproxy  |        Version:     
 Keywords:             |         Parent:     
   Points:             |   Actualpoints:     
-----------------------+----------------------------------------------------

Comment(by nickm):

 Ah, it looks like there's an ordering bug here.
 bufferevent_connect_hostname is allowed to complete immediately while it
 is called, but the function calling it assumes that it's okay to set up
 the ->circuit pointer after the open_outbound_hostname call returns.

 So the right fix here seems to be setting the circuit earlier, I guess?

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


More information about the tor-bugs mailing list