You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Kim van der Riet (JIRA)" <ji...@apache.org> on 2014/01/16 17:24:19 UTC

[jira] [Created] (QPID-5487) [linearstore] Replace use of /dev/urandom with c random generator calls

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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org