[tor-bugs] #11970 [Tor]: `[err] sandbox_getaddrinfo(): Bug: (Sandbox) failed to get address localhost!`

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jun 11 15:03:22 UTC 2014


#11970: `[err] sandbox_getaddrinfo(): Bug: (Sandbox) failed to get address
localhost!`
---------------------------+---------------------------------
     Reporter:  alphawolf  |      Owner:  nickm
         Type:  defect     |     Status:  closed
     Priority:  normal     |  Milestone:  Tor: 0.2.5.x-final
    Component:  Tor        |    Version:  Tor: 0.2.5.4-alpha
   Resolution:  fixed      |   Keywords:  sandbox 025-triaged
Actual Points:             |  Parent ID:
       Points:             |
---------------------------+---------------------------------
Changes (by nickm):

 * status:  needs_review => closed
 * resolution:   => fixed


Comment:

 Replying to [comment:9 andrea]:
 > This patch looks okay to me; we're entirely sure we never want to
 getaddrinfo() anything new after we enable sandboxing? (I have to learn my
 way around all this new sandboxing code so I have a clearer notion of when
 that happens).

 It's not that we never _want_ to getaddrinfo() anything new: it's that
 attempting to do so will inevitably fail, since the getaddrinfo() code
 usually wants to open some files that we can't permit.

 I looked the code over again too, and modulo one issue
 (b883b8d1a5edbccbc38c) it looked okay to me too.  Merged!

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


More information about the tor-bugs mailing list