projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
442ca54
)
In krb5_ktfileint_find_slot, don't continue the loop when we find a
author
Greg Hudson
<ghudson@mit.edu>
Fri, 24 Apr 2009 19:49:54 +0000
(19:49 +0000)
committer
Greg Hudson
<ghudson@mit.edu>
Fri, 24 Apr 2009 19:49:54 +0000
(19:49 +0000)
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.
ticket: 6475
status: open
tags: pullup
target_version: 1.7
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22278
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/krb5/keytab/kt_file.c
patch
|
blob
|
history
diff --git
a/src/lib/krb5/keytab/kt_file.c
b/src/lib/krb5/keytab/kt_file.c
index 1d261f8c7ab37ecf624b19f888276daf3eaa3048..79728cee017b1f6afb06b28bb7e34a355dee7694 100644
(file)
--- a/
src/lib/krb5/keytab/kt_file.c
+++ b/
src/lib/krb5/keytab/kt_file.c
@@
-1755,6
+1755,7
@@
krb5_ktfileint_find_slot(krb5_context context, krb5_keytab id, krb5_int32 *size_
if (fseek(KTFILEP(id), zero_point, SEEK_SET)) {
return errno;
}
+ found = TRUE;
}
}
}