[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs