In krb5_ktfileint_find_slot, don't continue the loop when we find a final zero-length buffer. This is a minimal fix intended to be pulled up to the 1.7 branch; a code cleanup commit will follow. http://src.mit.edu/fisheye/changelog/krb5/?cs=22278 Commit By: ghudson Revision: 22278 Changed Files: U trunk/src/lib/krb5/keytab/kt_file.c