diff options
author | Greg Hudson <ghudson@mit.edu> | 2009-02-04 19:31:33 +0000 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2009-02-04 19:31:33 +0000 |
commit | b6ace34422842ac5e294e90215d379c78b735085 (patch) | |
tree | b7b6f9d9d0ecdd70ba09e91c57a57a17f0cef89d /src/kadmin | |
parent | e957ba285d280f9c501964aadc2a9cd5c0b9b3a5 (diff) | |
download | krb5-b6ace34422842ac5e294e90215d379c78b735085.tar.gz krb5-b6ace34422842ac5e294e90215d379c78b735085.tar.xz krb5-b6ace34422842ac5e294e90215d379c78b735085.zip |
In tcl_ovsec_kadm_get_policy, initialize ent since (at least in
theory) there's a code path which gets through to the finalizers
without setting it.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21882 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kadmin')
-rw-r--r-- | src/kadmin/testing/util/tcl_ovsec_kadm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kadmin/testing/util/tcl_ovsec_kadm.c b/src/kadmin/testing/util/tcl_ovsec_kadm.c index db0b4cc58a..936e028f50 100644 --- a/src/kadmin/testing/util/tcl_ovsec_kadm.c +++ b/src/kadmin/testing/util/tcl_ovsec_kadm.c @@ -1742,7 +1742,7 @@ static int tcl_ovsec_kadm_get_policy(ClientData clientData, Tcl_Interp *interp, int argc, const char *argv[]) { - ovsec_kadm_policy_ent_t ent; + ovsec_kadm_policy_ent_t ent = NULL; Tcl_DString *ent_dstring = 0; char *policy; char *ent_var; |