[tor-bugs] #19418 [Core Tor/Tor]: i2d_RSAPublicKey retval ignored in multiple callsites

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jun 15 09:33:07 UTC 2016


#19418: i2d_RSAPublicKey retval ignored in multiple callsites
------------------------------+-----------------------------------------
     Reporter:  asn           |      Owner:
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.2.9.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  tor-bug-bounty 029-proposed
Actual Points:                |  Parent ID:
       Points:  0.5           |   Reviewer:
      Sponsor:                |
------------------------------+-----------------------------------------
 Hello. Here follows a bug report by `Guido Vranken` received through the
 hackerone program.

 There are various places in the codebase where we don't check the retval
 of `i2d_RSA_PublicKey()` (or its callers). That function can fail in cases
 of OOM, and this is something we should be handling correctly. This is a
 similar case to #17686.

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


More information about the tor-bugs mailing list