[tor-bugs] #24735 [Core Tor/Tor]: Always check for the null address when calling address functions

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Dec 24 14:36:22 UTC 2017


#24735: Always check for the null address when calling address functions
------------------------------+--------------------------------
     Reporter:  teor          |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.3.3.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  ipv6, tor-relay
Actual Points:                |  Parent ID:  #24403
       Points:  1             |   Reviewer:
      Sponsor:  SponsorV-can  |
------------------------------+--------------------------------
 These address functions have never had return values:
 * node_get_prim_dirport()
 * node_get_pref_ipv6_orport()

 We should make sure we always check for the null address when we call
 them.

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


More information about the tor-bugs mailing list