[2703] in Kerberos-V5-bugs
krb5-appl/399: Y2K problem in gssftp
daemon@ATHENA.MIT.EDU (DShambroom@gte.com)
Mon Mar 17 18:57:00 1997
Resent-From: gnats@rt-11.MIT.EDU (GNATS Management)
Resent-To: krb5-unassigned@RT-11.MIT.EDU
Resent-Reply-To: krb5-bugs@MIT.EDU, DShambroom@gte.com
Date: Mon, 17 Mar 1997 18:51:31 -0500
From: DShambroom@gte.com
Reply-To: DShambroom@gte.com
To: krb5-bugs@MIT.EDU
>Number: 399
>Category: krb5-appl
>Synopsis: code in krb5-1.0/src/appl/gssftp/ftp/cmds.c will fail in year 2000
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: krb5-unassigned
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Mon Mar 17 18:53:01 EST 1997
>Last-Modified:
>Originator: W. David Shambroom
>Organization:
Software Systems Laboratory
GTE Laboratories Incorporated
>Release: 1.0
>Environment:
System: AIX coltrane 1 4 006003004C00
Machine: RS/6000 43P
>Description:
In the source file krb5-1.0/src/appl/gssftp/ftp/cmds.c, lines 822-824:
if (tm->tm_year > yy%100)
return (1);
else if (tm->tm_year == yy%100) {
will fail in the year 2000.
>How-To-Repeat:
N/A
>Fix:
A correct version is:
if (tm->tm_year > yy-1900)
return (1);
else if (tm->tm_year == yy-1900) {
>Audit-Trail:
>Unformatted: