[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs