Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1054448 - [linearstore] Replace use of /dev/urandom with c random generator calls
Summary: [linearstore] Replace use of /dev/urandom with c random generator calls
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp
Version: Development
Hardware: Unspecified
OS: Unspecified
Target Milestone: 3.0
: ---
Assignee: Kim van der Riet
QA Contact: Irina Boverman
Depends On:
Blocks: 709325
TreeView+ depends on / blocked
Reported: 2014-01-16 20:51 UTC by Kim van der Riet
Modified: 2015-01-21 12:57 UTC (History)
6 users (show)

Fixed In Version: qpid-cpp-0.22-35
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed:
Target Upstream Version:

Attachments (Terms of Use)

System ID Priority Status Summary Last Updated
Apache JIRA QPID-5487 None None None Never

Description Kim van der Riet 2014-01-16 20:51:44 UTC
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().

Comment 1 Kim van der Riet 2014-01-16 20:52:28 UTC
Upstream bug:

Comment 2 Kim van der Riet 2014-01-16 21:14:26 UTC
Fixed in r.1558913

See upstream bug for further details.

Note You need to log in before you can comment on or make changes to this bug.