projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b46211
)
Real fix this time - deals with the malloc(0) case..
author
Ezra Peisach
<epeisach@mit.edu>
Tue, 14 Oct 1997 19:44:11 +0000
(19:44 +0000)
committer
Ezra Peisach
<epeisach@mit.edu>
Tue, 14 Oct 1997 19:44:11 +0000
(19:44 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10232
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/kadm5/alt_prof.c
patch
|
blob
|
history
diff --git
a/src/lib/kadm5/alt_prof.c
b/src/lib/kadm5/alt_prof.c
index 1aad9f94435fe72c2efde7da1d5753d8bea04ec3..810ad200a3a412a0fa6a8d9d6288b185b443c30c 100644
(file)
--- a/
src/lib/kadm5/alt_prof.c
+++ b/
src/lib/kadm5/alt_prof.c
@@
-38,7
+38,6
@@
krb5_int32 len;
int i;
krb5_key_salt_tuple *knew;
- if(len == 0) return 0;
if((knew = (krb5_key_salt_tuple *)
malloc((len ) * sizeof(krb5_key_salt_tuple)))) {
memcpy(knew, ksalt, len * sizeof(krb5_key_salt_tuple));