Created attachment 825147 [details]
patch to correctly check match_rx return codes
Description of problem:
anacron does not correctly check configuration parameters for validity and can segfault on certain data types
The return code from the match_rx calls in readtab.c are not being checked correctly,
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Set START_HOURS_RANGE=0
There is also a possible divide-by-zero segfault if RANDOM_DELAY=0.
*** Bug 1189361 has been marked as a duplicate of this bug. ***
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.