Bug 320 - use arc4random(3) for QID generation if available
use arc4random(3) for QID generation if available
Status: RESOLVED FIXED
Product: NSD
Classification: Unclassified
Component: NSD Code
other
Other All
: P2 enhancement
Assigned To: NSD team
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-08-07 14:26 CEST by Jakob Schlyter
Modified: 2010-08-09 10:42 CEST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jakob Schlyter 2010-08-07 14:26:46 CEST
see summary. trivial patch attached.
Comment 1 Matthijs Mekking 2010-08-09 10:16:03 CEST
I did not see the trivial patch, but I have committed a fix in trunk:)
Comment 2 Jakob Schlyter 2010-08-09 10:21:17 CEST
I believe your use of arc4random_uniform() is incorrect.
Comment 3 Matthijs Mekking 2010-08-09 10:42:32 CEST
added an upperbound for arc4random_uniform()