* kadmin.c (kadmin_cpw): Initialize ks_tuple to NULL
authorTom Yu <tlyu@mit.edu>
Wed, 1 Mar 2000 11:26:20 +0000 (11:26 +0000)
committerTom Yu <tlyu@mit.edu>
Wed, 1 Mar 2000 11:26:20 +0000 (11:26 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12094 dc483132-0cff-0310-8789-dd5450dbe970

src/kadmin/cli/ChangeLog
src/kadmin/cli/kadmin.c

index 96529df824456cee8e2f2cd0d6e6246a8baaa42c..aa19760d4f9d5f6fd37513c270f9bcb55fc3fb9a 100644 (file)
@@ -1,3 +1,7 @@
+2000-03-01  Tom Yu  <tlyu@mit.edu>
+
+       * kadmin.c (kadmin_cpw): Initialize ks_tuple to NULL.
+
 2000-02-27  Tom Yu  <tlyu@mit.edu>
 
        * kadmin.c (kadmin_parse_princ_args): Remove keepold argument to
index 304dad92d087d2b4da1de65845520cdc7ab310c5..803853230f76c94ea2955648df7d9f345a45a91f 100644 (file)
@@ -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) {