[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:46:46 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: |
--------------------------+-------------------------------------------------
Comment(by asn):
{{{
...
if (! tor_tls_cert_is_valid(id_cert, id_cert, 1))
ERR("The ID certificate was not valid");
...
}}}
Yep, you are right!
Thanks!
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/4287#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list