Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-5487

[linearstore] Replace use of /dev/urandom with c random generator calls

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • C++ Broker
    • None

    Description

      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 several smaller numbers from rand() or random()

      Attachments

        Activity

          People

            kpvdr Kim van der Riet
            kpvdr Kim van der Riet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: