[tor-bugs] #7801 [Tor]: Our one use of tor_weak_random() is subtly wrong
Tor Bug Tracker & Wiki
blackhole at torproject.org
Thu Dec 27 23:17:41 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):
http://msdn.microsoft.com/en-us/library/2dfe3bzd.aspx
{{{
The constant RAND_MAX is the maximum value that can be returned by the
rand function. RAND_MAX is defined as the value 0x7fff.
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7801#comment:8>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list