Kim van der Riet created QPID-5487:
--------------------------------------

             Summary: [linearstore] Replace use of /dev/urandom with c random 
generator calls
                 Key: QPID-5487
                 URL: https://issues.apache.org/jira/browse/QPID-5487
             Project: Qpid
          Issue Type: Bug
          Components: C++ Broker
            Reporter: Kim van der Riet
            Assignee: Kim van der Riet
            Priority: Minor


The use of /dev/urandom for random numbers is considered unfriendly to other 
systems on a machine that might depend upon this source.

The current use-case is for Journal serial numbers; the randomness of the C 
rand() call should be good enough, but it requires a 64-bit number. Construct 
this using two 32-bit numbers.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to