#26794 closed defect (fixed)

tsocks_gethostbyname_r does not assign result

Reported by: cHBWyJuH Owned by: dgoulet
Priority: High Milestone:
Component: Core Tor/Torsocks Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

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

Child Tickets

Attachments (1)

tsocks_gethostbyname_r-assign-result.patch (490 bytes) - added by cHBWyJuH 19 months ago.
patchfile

Download all attachments as: .zip

Change History (4)

comment:1 Changed 19 months ago by cHBWyJuH

Could not include context in patchfile due to stupid spam protection

Changed 19 months ago by cHBWyJuH

patchfile

comment:3 Changed 14 months ago by dgoulet

Resolution: fixed
Status: newclosed

Merged upstream. Thanks!

Note: See TracTickets for help on using tickets.