1
0
mirror of https://github.com/openbsd/src.git synced 2024-12-21 23:18:00 -08:00
openbsd-src/usr.sbin/cron
millert 988a3bdaeb 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@
2024-08-23 00:58:04 +00:00
..
atrun.c spelling fixes; from paul tagliamonte 2022-12-28 21:30:15 +00:00
client.c Unused variable. 2018-07-13 08:39:33 +00:00
config.h
cron.8 I am retiring my old email address; replace it with my OpenBSD one. 2019-01-25 00:19:25 +00:00
cron.c Add a missing check for negative tv_sec when setting the timeout. 2022-07-08 20:47:24 +00:00
cron.h
crontab.1 delete ridiculous DIAGNOSTICS section that goes without saying 2020-01-06 18:49:28 +00:00
crontab.5 rework the "random" text: 2024-07-06 15:33:17 +00:00
crontab.c crontab: move spool temp file creation to spool_mkstemp() 2023-05-05 13:50:40 +00:00
database.c When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:32:41 +00:00
do_command.c repair a few more backwards compares that create headaches 2022-05-21 01:21:29 +00:00
entry.c cron: use strtonum() and tighter limits on step values 2024-08-23 00:58:04 +00:00
env.c repair a few more backwards compares that create headaches 2022-05-21 01:21:29 +00:00
funcs.h Add a mechanism to prevent cron jobs from running concurrently. 2020-04-16 17:51:56 +00:00
globals.h Close the socket (and dfd) in at(1) child processes 2017-10-23 15:15:22 +00:00
job.c Log skipped jobs in job_add() not job_runqueue(). 2020-04-17 02:12:56 +00:00
macros.h Support random offsets when using ranges with a step value in cron. 2023-05-06 23:06:27 +00:00
Makefile
misc.c repair a few more backwards compares that create headaches 2022-05-21 01:21:29 +00:00
pathnames.h retire the old cron socket path; ok jca millert 2018-07-11 14:51:01 +00:00
popen.c When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:32:41 +00:00
structs.h Add a mechanism to prevent cron jobs from running concurrently. 2020-04-16 17:51:56 +00:00
user.c Add a mechanism to prevent cron jobs from running concurrently. 2020-04-16 17:51:56 +00:00