[tor-bugs] #7801 [Tor]: Our one use of tor_weak_random() is subtly wrong

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Dec 28 08:05:37 UTC 2012


#7801: Our one use of tor_weak_random() is subtly wrong
-----------------------+----------------------------------------------------
 Reporter:  nickm      |          Owner:                    
     Type:  defect     |         Status:  needs_review      
 Priority:  minor      |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor        |        Version:                    
 Keywords:  tor-relay  |         Parent:                    
   Points:             |   Actualpoints:                    
-----------------------+----------------------------------------------------

Comment(by cypherpunks):

 Some Solaris versions do not care to define RAND_MAX either.
 Tor do not used RAND_MAX actually
 {{{
 #define TOR_RAND_MAX (RAND_MAX)
 }}}
 Except define that compiler do not care till actual using by code.
 Around 5 of Tor relays running Solaris with some unclear file headers. Do
 you want to drop them?

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


More information about the tor-bugs mailing list