uninitialized pointer in error case.
* tcl_ovsec_kadm.c (parse_principal_ent, parse_policy_ent): Likewise.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18761
dc483132-0cff-0310-8789-
dd5450dbe970
static int parse_principal_ent(Tcl_Interp *interp, char *list,
kadm5_principal_ent_t *out_princ)
{
- kadm5_principal_ent_t princ;
+ kadm5_principal_ent_t princ = 0;
krb5_error_code krb5_ret;
int tcl_ret;
int argc;
static int parse_policy_ent(Tcl_Interp *interp, char *list,
kadm5_policy_ent_t *out_policy)
{
- kadm5_policy_ent_t policy;
+ kadm5_policy_ent_t policy = 0;
int tcl_ret;
int argc;
char **argv;
static int parse_principal_ent(Tcl_Interp *interp, char *list,
ovsec_kadm_principal_ent_t *out_princ)
{
- ovsec_kadm_principal_ent_t princ;
+ ovsec_kadm_principal_ent_t princ = 0;
krb5_error_code krb5_ret;
int tcl_ret;
int argc;
static int parse_policy_ent(Tcl_Interp *interp, char *list,
ovsec_kadm_policy_ent_t *out_policy)
{
- ovsec_kadm_policy_ent_t policy;
+ ovsec_kadm_policy_ent_t policy = 0;
int tcl_ret;
int argc;
char **argv;