[tor-bugs] #15504 [Torsocks]: torsocks's getaddrinfo() is broken.

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Apr 23 00:29:01 UTC 2015


#15504: torsocks's getaddrinfo() is broken.
--------------------------+----------------------------
     Reporter:  yawning   |      Owner:  dgoulet
         Type:  defect    |     Status:  needs_revision
     Priority:  normal    |  Milestone:
    Component:  Torsocks  |    Version:
   Resolution:            |   Keywords:
Actual Points:            |  Parent ID:
       Points:            |
--------------------------+----------------------------

Comment (by yawning):

 Hmm, that's odd.  I can't appear to reproduce the failure, but my libc
 version may be different (2.21).

 The behavior I added is making the routine more standard compliant (and
 this flag and the behavior has existed since the 90s), so I'm not sure why
 it'll break.  It's probably also worth looking at all the other flags
 (`AI_NUMERICSERV` probably also needs special handling).

 http://pubs.opengroup.org/onlinepubs/9699919799/functions/getaddrinfo.html

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


More information about the tor-bugs mailing list