[6457] in Kerberos

home help back first fref pref prev next nref lref last post

Re: Kerberos 5 and the new year

daemon@ATHENA.MIT.EDU (Theodore Ts'o)
Mon Jan 8 13:29:07 1996

Date: Mon, 8 Jan 1996 13:19:53 -0500
From: Theodore Ts'o <tytso@MIT.EDU>
To: jik@annex-1-slip-jik.cam.ov.com
Cc: kerberos@MIT.EDU
In-Reply-To: Jonathan Kamens's message of 6 Jan 1996 17:36:09 GMT,
	<4cmbu9$5g@jik.datasrv.co.il>

   Date: 6 Jan 1996 17:36:09 GMT
   From: jik@annex-1-slip-jik.cam.ov.com (Jonathan Kamens)

   Except, of course, that this fix won't work in the year 2000.

I have been told by one customer of Kerberos vendor that the patch that
they were supplied with did not work in the year 2000.  Yes, I didn't
include the patch (that was also in Beta 5) that fixed the problem for
the year 2000 --- that happens to be an an separate part of the code.
(The #define for the CPP macro has_leap_year()).

BTW, now that people who have survived the beta4 pl3 "leap year bug",
may find this particular bug report amusing.  (Or at the very least, a
writeup for the Risks Digest, asuming I can find the time to do some
more research about who copied the algoirthm from whom.  :-) If anybody
is aware of other instances of this bug in other software packages,
please let me know!)

						- Ted

From: haynes@cats.ucsc.edu (Jim Haynes)
Date: Fri, 5 Jan 1996 16:53:19 -0800
To: sipb@MIT.EDU
Subject: Bugfix for rn/trn

Since the new year you get asked repeatedly if you want to add new newsgroups
that you told it you didn't want to add.  Here's the fix that someone in
Computer Science gave me.

*** nntp.c_orig Sat Nov 19 01:01:23 1994
--- nntp.c      Wed Jan  3 01:41:34 1996
***************
*** 320,324 ****
        day += maxdays[month];
  
!     ss = ((((year-1970) * 365 + (year-1968)/4 + day - 1) * 24L + hh) * 60
          + mm) * 60 + ss;
  
--- 320,324 ----
        day += maxdays[month];
  
!     ss = ((((year-1970) * 365 + (year-1969)/4 + day - 1) * 24L + hh) * 60
          + mm) * 60 + ss;

(Looks a lot like the problem with the KDC error message on dialup servers)

home help back first fref pref prev next nref lref last post