[tor-bugs] #20632 [Core Tor/Tor]: Fix error handling in rend_service_parse_port_config()

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Nov 10 22:28:15 UTC 2016


#20632: Fix error handling in rend_service_parse_port_config()
------------------------------+-----------------
     Reporter:  twim          |      Owner:
         Type:  defect        |     Status:  new
     Priority:  Low           |  Milestone:
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+-----------------
 rend_service_parse_port_config() leaves err_msg unfreed when caller
 doesn't care about this message.
 Also checks for presence of output message before producing each error
 message makes code less readable.

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


More information about the tor-bugs mailing list