[tor-bugs] #5114 [Tor Client]: Environ not available on all versions of OS X, segfaults tor with obfsproxy

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Tue Feb 14 16:11:31 UTC 2012


#5114: Environ not available on all versions of OS X, segfaults tor with obfsproxy
------------------------+---------------------------------------------------
 Reporter:  Sebastian   |          Owner:                    
     Type:  defect      |         Status:  needs_review      
 Priority:  major       |      Milestone:  Tor: 0.2.3.x-final
Component:  Tor Client  |        Version:                    
 Keywords:              |         Parent:                    
   Points:              |   Actualpoints:                    
------------------------+---------------------------------------------------

Comment(by nickm):

 Replying to [comment:7 Sebastian]:
 > see bug5114 in my repo, other than that, seems fine.

 {{{
 -#ifdef HAVE_CRT_EXTERNS_H
 +#ifdef HAVE__NSGETENVIRON
  #include <crt_externs.h>
  #endif
 }}}

 No, that's not autoconf practice.  If you want to know whether you should
 call a function , you check for that function.  If you want to know
 whether you should include a header, you check for that header's presence.

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


More information about the tor-bugs mailing list