[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-talk] torsocks logic
there seems to be some discrepancy in torsocks' logic, at least
since August 2016.
In "src/common/utils.c", check_addr returns -1 for non-AF addresses.
So does utils_is_address_ipv4 as it just passes check_addr's
However, in "src/lib/gethostbyname.c", tsocks_gethostbyname expects
the return value to be a C boolean, so the -1 value from above is
treated as a positive result.
I guess one of the three functions may better be adjusted in order to
ensure more effective operation.
This e-mail and its attachments may contain confidential and/or
legally privileged information. Any unauthorised copying, disclosure,
dissemination or distribution of the material in this e-mail is
tor-talk mailing list - tor-talk@xxxxxxxxxxxxxxxxxxxx
To unsubscribe or change other settings go to