[tor-bugs] #33674 [Core Tor/Tor]: Check return value handling in the relay and dirauth stubs

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Mar 20 01:16:51 UTC 2020


#33674: Check return value handling in the relay and dirauth stubs
------------------------------+--------------------------------
     Reporter:  teor          |      Owner:  teor
         Type:  task          |     Status:  assigned
     Priority:  Medium        |  Milestone:  Tor: 0.4.3.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  043-must
Actual Points:                |  Parent ID:
       Points:  0.5           |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------
 In #33668, we discovered a relay module stub that didn't handle an `int
 *have_low_ports_out` return value correctly.

 We should check all the relay and dirauth module return values, including
 pointer out and inout return values.

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


More information about the tor-bugs mailing list