From d4e7d83322f1320741ded44a060e0484cf8173d3 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Sun, 3 Jan 2010 14:27:02 +0000 Subject: [PATCH] Initialize variables in case of error path winds up freeing stack garbage git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23571 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kadmin/testing/util/tcl_kadm5.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kadmin/testing/util/tcl_kadm5.c b/src/kadmin/testing/util/tcl_kadm5.c index 2f2c07946..3a679996e 100644 --- a/src/kadmin/testing/util/tcl_kadm5.c +++ b/src/kadmin/testing/util/tcl_kadm5.c @@ -849,7 +849,7 @@ static int parse_key_data(Tcl_Interp *interp, const char *list, krb5_key_data **key_data, int n_key_data) { - const char **argv; + const char **argv = NULL; int argc, retcode; *key_data = NULL; @@ -889,7 +889,7 @@ static int parse_tl_data(Tcl_Interp *interp, const char *list, int n_tl_data) { krb5_tl_data *tl, *tl2; - const char **argv, **argv1 = NULL; + const char **argv = NULL, **argv1 = NULL; int i, tmp, argc, argc1, retcode; *tlp = NULL; -- 2.26.2