concourse / concourse

Audit the random number generation source (rand) GSC-G404
Security
Minor
1 occurrence in this check
Use of weak random number generator (math/rand instead of crypto/rand)
 59	scanned := 0
 60	if s.batchSize > 0 && s.batchSize < limit {
 61		limit = s.batchSize
 62		cursor = rand.Int() % total 63	}
 64
 65	for created < limit && scanned < total {