From bc55210ab003ca9eeb50dd752dbb0b3f33e8650b Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Wed, 1 Mar 2000 11:26:20 +0000 Subject: [PATCH] * kadmin.c (kadmin_cpw): Initialize ks_tuple to NULL git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12094 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kadmin/cli/ChangeLog | 4 ++++ src/kadmin/cli/kadmin.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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) { -- 2.26.2