projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32fd43e
)
krb5_string_to_keysalts()
author
Jeffrey Altman
<jaltman@secure-endpoints.com>
Mon, 21 Jul 2008 20:30:44 +0000
(20:30 +0000)
committer
Jeffrey Altman
<jaltman@secure-endpoints.com>
Mon, 21 Jul 2008 20:30:44 +0000
(20:30 +0000)
Fix an infinite loop in the parsing of 'kp'
ticket: 5839
tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20557
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/kadm5/str_conv.c
patch
|
blob
|
history
diff --git
a/src/lib/kadm5/str_conv.c
b/src/lib/kadm5/str_conv.c
index 4a2a67873ed46281bfe525e04e0af190819107e9..0d142d6de4d4877d337dda2208258bf3f66021cc 100644
(file)
--- a/
src/lib/kadm5/str_conv.c
+++ b/
src/lib/kadm5/str_conv.c
@@
-310,7
+310,7
@@
krb5_string_to_keysalts(string, tupleseps, ksaltseps, dups, ksaltp, nksaltp)
septmp = ksseplist;
for (sp = strchr(kp, (int) *septmp);
*(++septmp) && !sp;
-
e
p = strchr(kp, (int) *septmp));
+
s
p = strchr(kp, (int) *septmp));
if (sp) {
/* Separate enctype from salttype */