From: Tom Yu Date: Wed, 1 Mar 2000 11:26:20 +0000 (+0000) Subject: * kadmin.c (kadmin_cpw): Initialize ks_tuple to NULL X-Git-Tag: krb5-1.2-beta1~30 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bc55210ab003ca9eeb50dd752dbb0b3f33e8650b;p=krb5.git * kadmin.c (kadmin_cpw): Initialize ks_tuple to NULL git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12094 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kadmin/cli/ChangeLog b/src/kadmin/cli/ChangeLog index 96529df82..aa19760d4 100644 --- a/src/kadmin/cli/ChangeLog +++ b/src/kadmin/cli/ChangeLog @@ -1,3 +1,7 @@ +2000-03-01 Tom Yu + + * kadmin.c (kadmin_cpw): Initialize ks_tuple to NULL. + 2000-02-27 Tom Yu * kadmin.c (kadmin_parse_princ_args): Remove keepold argument to diff --git a/src/kadmin/cli/kadmin.c b/src/kadmin/cli/kadmin.c index 304dad92d..803853230 100644 --- a/src/kadmin/cli/kadmin.c +++ b/src/kadmin/cli/kadmin.c @@ -518,7 +518,7 @@ void kadmin_cpw(argc, argv) char *canon; char *pwarg = NULL; int n_ks_tuple = 0, keepold = 0, randkey = 0; - krb5_key_salt_tuple *ks_tuple; + krb5_key_salt_tuple *ks_tuple = NULL; krb5_principal princ; if (argc < 2) {