svn rev #22328: branches/krb5-1-7/src/lib/krb5/keytab/

tlyu@MIT.EDU tlyu at MIT.EDU
Mon May 11 16:55:23 EDT 2009


http://src.mit.edu/fisheye/changelog/krb5/?cs=22328
Commit By: tlyu
Log Message:
ticket: 6475
version_fixed: 1.7

pull up r22278 from trunk

 ------------------------------------------------------------------------
 r22278 | ghudson | 2009-04-24 15:49:54 -0400 (Fri, 24 Apr 2009) | 9 lines
 Changed paths:
    M /trunk/src/lib/krb5/keytab/kt_file.c

 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   branches/krb5-1-7/src/lib/krb5/keytab/kt_file.c
Modified: branches/krb5-1-7/src/lib/krb5/keytab/kt_file.c
===================================================================
--- branches/krb5-1-7/src/lib/krb5/keytab/kt_file.c	2009-05-11 20:55:19 UTC (rev 22327)
+++ branches/krb5-1-7/src/lib/krb5/keytab/kt_file.c	2009-05-11 20:55:22 UTC (rev 22328)
@@ -1754,6 +1754,7 @@
                 if (fseek(KTFILEP(id), zero_point, SEEK_SET)) {
                     return errno;
                 }
+		found = TRUE;
             }
         }
     }




More information about the cvs-krb5 mailing list