Bugzilla – Bug 320
use arc4random(3) for QID generation if available
Last modified: 2010-08-09 10:42:32 CEST
see summary. trivial patch attached.
I did not see the trivial patch, but I have committed a fix in trunk:)
I believe your use of arc4random_uniform() is incorrect.
added an upperbound for arc4random_uniform()