[tor-bugs] #4897 [Tor Hidden Services]: seg fault in circuit_expire_building

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Fri Jan 13 03:25:24 UTC 2012


#4897: seg fault in circuit_expire_building
---------------------------------+------------------------------------------
 Reporter:  arma                 |          Owner:                    
     Type:  defect               |         Status:  needs_review      
 Priority:  major                |      Milestone:  Tor: 0.2.3.x-final
Component:  Tor Hidden Services  |        Version:                    
 Keywords:                       |         Parent:                    
   Points:                       |   Actualpoints:                    
---------------------------------+------------------------------------------
Changes (by rransom):

  * status:  new => needs_review


Comment:

 Replying to [comment:1 arma]:

 > maybe victim is null?

 If `victim` were NULL, `TO_ORIGIN_CIRCUIT`, `victim->purpose`, and a bunch
 of code above that block would have segfaulted instead.  `victim->n_conn`
 must be NULL.

 See my bug4897 branch for a fix.

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


More information about the tor-bugs mailing list