cron: check for garbage after the '~' in a random range.
authormillert <millert@openbsd.org>
Sun, 7 May 2023 13:43:13 +0000 (13:43 +0000)
committermillert <millert@openbsd.org>
Sun, 7 May 2023 13:43:13 +0000 (13:43 +0000)
commit671be1910ef6f57d821a0343815621790c0e15d2
tree3cb55c2328fac8033a12685effe578049b8ae961
parentae4d93de911e26324096835bf4c3f87f61fa830d
cron: check for garbage after the '~' in a random range.
A bug in the parsing of the optional number after the '~' in a
random range prevented proper syntax checking.  OK kn@
usr.sbin/cron/entry.c