OSSP CVS Repository

ossp - Ticket #64 History
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Attach]  [Edit]  [View

Ticket 64 History: Repeats uuids on fast machines

  1. Created 2005-Aug-29 18:54:14 by anonymous
  2. Check-in [3]: *** empty log message ***(By ossp on 2000-Jun-12 11:46)
  3. Check-in [5]: Fix modules file(By ossp on 2000-Jun-12 11:59)
  4. Change severity from "2" to "1" by anonymous on 2005-Aug-29 22:43
  5. Change priority from "3" to "2" by anonymous on 2005-Aug-29 22:43
  6. Changed description.
    *** 1 ****
    ! On a fast machine, prng_create can return the same number twice. The quickest fix would be a microsecond sleep before the function returns (man nanosleep).
    --- 1 ----
    ! On a fast machine, prng_create can return the same number twice. This leads to repeated uuids if one is using different contexts ie. uuid_t objects. The quickest fix would be a microsecond sleep before prng_create returns. If that is indeed the fix, using different contexts will slow down the code, and users should be advised to stick to one context as much as possible.
    
    by anonymous on 2005-Aug-29 22:47
  7. Check-in [5117]: Improve the PRNG in case no stronger system PRNG device is available by passing time and rand(3) based entropy into the MD5 one-way hash function to achieve at least some sort of weaker PRN data.(By rse on 2005-Aug-30 17:26)
  8. Change status from "new" to "fixed" by rse on 2005-Aug-30 17:27
  9. Added remarks:
    We improved the PRNG and at this point also fixed your issue. Please see the associated CVS commit.
    by rse on 2005-Aug-30 17:27

CVSTrac 2.0.1