[12311] in Athena Bugs
bug in getrealm.c
daemon@ATHENA.MIT.EDU (Teddy Slottow)
Mon Aug 1 16:50:30 1994
To: bugs@MIT.EDU
Date: Mon, 01 Aug 94 16:50:24 EDT
From: Teddy Slottow <edward@MIT.EDU>
There is a bug in getrealm.c (path /afs/dev/project/release/source/src/athena/b
in/attach). The file ends with
if ((trans_host[0] = '.') && domain) {
/* this is a domain match */
if (!strcasecmp(trans_host, domain)) {
/* domain match, save for later */
(void) strcpy(ret_realm, trans_realm);
continue;
}
}
}
}
#endif
The first if should be
if ((trans_host[0] == '.') && domain) {
The bug has been fixed in the version of getrealm.c stored in
/afs/dev/project/release/source/src/athena/lib/kerberos.p9/lib/krb
Teddy