[tor-bugs] #2195 [Tor Relay]: Handle the case when we can't generate descriptors

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Wed Nov 17 16:59:31 UTC 2010


#2195: Handle the case when we can't generate descriptors
-----------------------+----------------------------------------------------
 Reporter:  karsten    |       Owner:                     
     Type:  defect     |      Status:  needs_review       
 Priority:  normal     |   Milestone:  Tor: 0.2.2.x-final 
Component:  Tor Relay  |     Version:  Tor: 0.2.2.17-alpha
 Keywords:             |      Parent:                     
-----------------------+----------------------------------------------------

Comment(by rransom):

 Replying to [comment:2 nickm]:
 > Reviewing mitigate2183 :
 >
 >   * You should use tor_digest_is_zero() when setting
 has_extra_info_digest.

 Thanks! I didn't know there was a utility function for that.

 > Other than that, looks okay to me.  Is it tested?  It should be trivial
 enough to insert a "return -1" to the extrainfo_dump_to_string function to
 make sure the the routerinfo gets generated okay.

 It's working for me now as a bridge (sanitized fingerprint `07DC 31AB 1422
 1482 77C7 3BB3 7C2C 5A3B 7FF5 DBC9`).

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


More information about the tor-bugs mailing list