Detect arithmetic overflow (poorly) in insert_time(), which diagnoses
commitabe8521e06c337a5c291d95954b5e7b5708ecb95
authorjay <jay>
Sat, 13 Mar 2004 18:03:39 +0000 (13 18:03 +0000)
committerjay <jay>
Sat, 13 Mar 2004 18:03:39 +0000 (13 18:03 +0000)
treef5a3f63583b3b47e94daf0d3a4cbb76bbc22aaea
parente05f368f39032ab9c73ffe97d204df55ea6c4d24
Detect arithmetic overflow (poorly) in insert_time(), which diagnoses
the failure to handle large arguments to -mtime.  The existing code
does careful computation and then bungs the value into a time_t, which
ruins all our careful effort.  The new code is not a great
improvement.  We just check the result to detect overflow, rather than
actually avoiding the overflow.
find/parser.c