svn rev #21882: trunk/src/kadmin/testing/util/
ghudson@MIT.EDU
ghudson at MIT.EDU
Wed Feb 4 14:31:35 EST 2009
http://src.mit.edu/fisheye/changelog/krb5/?cs=21882
Commit By: ghudson
Log Message:
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.
Changed Files:
U trunk/src/kadmin/testing/util/tcl_ovsec_kadm.c
Modified: trunk/src/kadmin/testing/util/tcl_ovsec_kadm.c
===================================================================
--- trunk/src/kadmin/testing/util/tcl_ovsec_kadm.c 2009-02-04 19:25:51 UTC (rev 21881)
+++ trunk/src/kadmin/testing/util/tcl_ovsec_kadm.c 2009-02-04 19:31:33 UTC (rev 21882)
@@ -1742,7 +1742,7 @@
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;
More information about the cvs-krb5
mailing list