[ntpsec commit] Making it slightly more difficult to cause havoc...

Eric S. Raymond esr at ntpsec.org
Thu Oct 1 21:22:41 UTC 2015


Module:    ntpsec
Branch:    master
Commit:    9cdd4003338b747afcab4eed58e0c336fe9a3d4f
Changeset: http://git.ntpsec.org/ntpsec/commit/?id=9cdd4003338b747afcab4eed58e0c336fe9a3d4f

Author:    Eric S. Raymond <esr at thyrsus.com>
Date:      Thu Oct  1 17:22:16 2015 -0400

Making it slightly more difficult to cause havoc...

...by overriding an error value that really shouldn't be.

---

 libntp/mktime.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libntp/mktime.c b/libntp/mktime.c
index f8f1663..23e3a85 100644
--- a/libntp/mktime.c
+++ b/libntp/mktime.c
@@ -101,9 +101,7 @@ static int	year_lengths[2] = {
 **	would still be very reasonable).
 */
 
-#ifndef WRONG
 #define WRONG	(-1)
-#endif /* !defined WRONG */
 
 static void
 normalize(



More information about the vc mailing list