Commit c404bca1 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Added overflow checking of timeval configuration parameters, and test

cases for the error checking.
parent 7bc551ba
2003-07-22 Per Cederqvist <ceder@ceder.dyndns.org>
Added overflow checking of timeval configuration parameters, and
test cases for the error checking.
* src/server/conf-file.c (assign_timeval): Added overflow checking.
* src/server/testsuite/lyskomd.0/37.exp: Check for overflow, bad
suffixes, and negative values for time parameters.
* src/server/testsuite/timeval-overflow.c: New program that
creates a broken lyskomd config file with timeval overflows.
* src/server/testsuite/Makefile.am (check_PROGRAMS): Added
timeval-overflow.
(timeval_overflow_SOURCES): New target.
(check-lyskomd): Depend on timeval-overflow.
2003-07-18 Per Cederqvist <ceder@ceder.dyndns.org>
Find the included adns.h from liboop.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment