svn rev #22278: trunk/src/lib/krb5/keytab/

ghudson@MIT.EDU ghudson at MIT.EDU
Fri Apr 24 15:49:54 EDT 2009


http://src.mit.edu/fisheye/changelog/krb5/?cs=22278
Commit By: ghudson
Log Message:
ticket: 6475
status: open
tags: pullup
target_version: 1.7

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.



Changed Files:
U   trunk/src/lib/krb5/keytab/kt_file.c
Modified: trunk/src/lib/krb5/keytab/kt_file.c
===================================================================
--- trunk/src/lib/krb5/keytab/kt_file.c	2009-04-23 23:37:42 UTC (rev 22277)
+++ trunk/src/lib/krb5/keytab/kt_file.c	2009-04-24 19:49:54 UTC (rev 22278)
@@ -1755,6 +1755,7 @@
                 if (fseek(KTFILEP(id), zero_point, SEEK_SET)) {
                     return errno;
                 }
+		found = TRUE;
             }
         }
     }




More information about the cvs-krb5 mailing list