Module Name: src Committed By: kre Date: Sat Jul 28 13:51:26 UTC 2018
Modified Files: src/external/bsd/cron/dist: entry.c Log Message: Fix from Michael Kaufmann in PR bin/53476 Do modulus using unsigned arith, and then convert the result to int, rather than converting the arc4random() result to int (which might be negative) and performing a modulus on that (with a potentially negative answer). To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/external/bsd/cron/dist/entry.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.