CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2023/05/08 09:18:31
Modified files:
usr.sbin/cron : entry.c
Log message:
cron: bounds check the high and low bounds for in a random range.
The bounds are checked for normal ranges in set_element() but in
the case of random ranges this is too late. As a result, a random
range with an invalid high/low bounds would only result in a syntax
error if the randomized value was out of bounds. This means the
entry would be "randomly" rejected by cron or crontab. OK kn@