Edit

IABSD.fr/src/usr.sbin/cron

Branch :

  • Show log

    Commit

  • Author : millert
    Date : 2024-08-23 00:58:04
    Hash : 988a3bda
    Message : cron: use strtonum() and tighter limits on step values Using strtonum() instead of atoi() gives us an extra layer of bounds checking for free while parsing an entry. This is in addition to the existing bounds checking in set_range(). The step value is now limited to the maximum range for an entry. If the field consists of a range, the step must not be larger than the difference between the high and low parts of the range. OK deraadt@