#26794: tsocks_gethostbyname_r does not assign result
-----------------------------------+---------------------
     Reporter:  cHBWyJuH           |      Owner:  dgoulet
         Type:  defect             |     Status:  new
     Priority:  High               |  Milestone:
    Component:  Core Tor/Torsocks  |    Version:
     Severity:  Normal             |   Keywords:
Actual Points:                     |  Parent ID:
       Points:                     |   Reviewer:
      Sponsor:                     |
-----------------------------------+---------------------
 From the manual, gethostbyname_r result argument must be assigned,

 "After the call, result will point to the  result on  success.   In  case
 of  an error or if no entry is found result will be NULL."

 attached patchfile

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26794>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Reply via email to