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

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Tue Nov 16 20:40:17 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 nickm):

 Reviewing mitigate2183 :

   * You should use tor_digest_is_zero() when setting
 has_extra_info_digest.

 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.

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


More information about the tor-bugs mailing list