[tor-bugs] #6176 [Tor Hidden Services]: Clean up service IDs

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sat Jun 16 02:27:40 UTC 2012


#6176: Clean up service IDs
---------------------------------+------------------------------------------
 Reporter:  andrea               |          Owner:                  
     Type:  defect               |         Status:  new             
 Priority:  normal               |      Milestone:  Tor: unspecified
Component:  Tor Hidden Services  |        Version:                  
 Keywords:  audit                |         Parent:                  
   Points:                       |   Actualpoints:                  
---------------------------------+------------------------------------------
 There are several occurences in rendservice.c and rendclient.c of service
 IDs produced by hashing public keys.  They should be properly zeroed when
 functions return/heap is freed.

  * rendclient.c:
    * lookup_last_hid_serv_request() (line 430)
    * directory_get_from_hs_dir() (line 539)
  * rendservice.c:
    * rend_service_intro_has_opened() (line 1562)
    * rend_service_intro_established() (line 1680)
    * rend_service_rendezvous_has_opened() (line 1721)
    * upload_service_descriptor() (line 1981)
    * rend_service_set_connection_addr_port() (line 2463)

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


More information about the tor-bugs mailing list