[tor-bugs] #4287 [Tor Relay]: Return value of tor_tls_cert_get_key() is not checked.

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sun Oct 23 17:29:21 UTC 2011


#4287: Return value of tor_tls_cert_get_key() is not checked.
--------------------------+-------------------------------------------------
    Reporter:  asn        |       Owner:  nickm 
        Type:  defect     |      Status:  closed
    Priority:  normal     |   Milestone:        
   Component:  Tor Relay  |     Version:        
  Resolution:  fixed      |    Keywords:        
      Parent:             |      Points:        
Actualpoints:             |  
--------------------------+-------------------------------------------------
Changes (by nickm):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 Hm.  It can't be triggered, since we check earlierin
 command_process_cert_cell  to make sure that those certs really do have
 RSA keys.

 But that's no excuse for a lack of defensive programming.  Fix applied as
 9d355bf47983019ab6b3f20d0c8c5870961b016f

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


More information about the tor-bugs mailing list