diff options
author | Ezra Peisach <epeisach@mit.edu> | 1997-10-14 19:44:11 +0000 |
---|---|---|
committer | Ezra Peisach <epeisach@mit.edu> | 1997-10-14 19:44:11 +0000 |
commit | 551ad509be294e963550d9e0f23149c76060cb7f (patch) | |
tree | 851683e1793450942195991886ae264859ed26c6 | |
parent | 0b4621186bf41e082b35da3403c366b87dcc650b (diff) | |
download | krb5-551ad509be294e963550d9e0f23149c76060cb7f.zip krb5-551ad509be294e963550d9e0f23149c76060cb7f.tar.gz krb5-551ad509be294e963550d9e0f23149c76060cb7f.tar.bz2 |
Real fix this time - deals with the malloc(0) case..
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10232 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r-- | src/lib/kadm5/alt_prof.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/kadm5/alt_prof.c b/src/lib/kadm5/alt_prof.c index 1aad9f9..810ad20 100644 --- 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)); |