[914] in Kerberos-V5-bugs

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

Re: This looks like a bug. lib/krb5/keytab/file/ktf_get_enc.c

daemon@ATHENA.MIT.EDU (Theodore Ts'o)
Sat Oct 29 15:43:31 1994

Date: Sat, 29 Oct 1994 15:43:27 +0500
From: Theodore Ts'o <tytso@MIT.EDU>
To: Dan Walsh <walsh@athena.tay.dec.com>
Cc: Theodore Ts'o <tytso@MIT.EDU>
Cc: krb5-bugs@MIT.EDU
In-Reply-To: [889]

   Date: Thu, 20 Oct 94 10:03:28 EDT
   From: Dan Walsh <walsh@athena.tay.dec.com>

   The way the following code is written, if (kvno == IGNORE_VNO)  the
   code will allways 
   return a not found.  I suggest that we change     if (kerror) {
   to     if ((kerror) && (! cur_entry.principal)).  What do you think?

You're absolutely right.  I've fixed in a slightly different way, but it
was definitely broken.

						- Ted

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