]> granicus.if.org Git - sudo/commitdiff
remove_timestamp() if timestamp is preposterous
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 15 Oct 1998 03:52:33 +0000 (03:52 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 15 Oct 1998 03:52:33 +0000 (03:52 +0000)
check.c

diff --git a/check.c b/check.c
index 8e759d2be87bda46724fa0cee26368c6a592d3f6..e033b10bb65a57555a44345166c9dc021c5cbb2e 100644 (file)
--- a/check.c
+++ b/check.c
@@ -299,6 +299,7 @@ static int check_timestamp()
                    timestamp_is_old = 2;       /* bogus time value */
                    log_error(BAD_STAMPFILE);
                    inform_user(BAD_STAMPFILE);
+                   remove_timestamp();
                } else {
                    timestamp_is_old = 0;       /* time value is reasonable */
                }