[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 Mar 11 19:12:13 UTC 2018
#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.4.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: ipv6, tor-relay | Actual Points:
Parent ID: #24403 | Points: 1
Reviewer: | Sponsor: SponsorV-can
-----------------------------+------------------------------------
Comment (by meryemz):
Here is my patch for this ticket:
https://github.com/mary-em/torprojet-tor/tree/t-24735
And I think it is necessary as well for other address functions to check
for the null address when calling them such as:
node_get_prim_orport()
node_get_pref_dirport()
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24735#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list