diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2010-11-26 11:15:19 +0100 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2010-11-29 17:21:17 -0500 |
commit | df28017eafc5c51f1fc136b2cae6169456d3c963 (patch) | |
tree | f80918221bda76fc43e973e4c996573e2eeef559 /daemons/ipa-slapi-plugins | |
parent | 58bcb5e7f9eb5e249bf19f562dcfcf7acddc6987 (diff) | |
download | freeipa-df28017eafc5c51f1fc136b2cae6169456d3c963.tar.gz freeipa-df28017eafc5c51f1fc136b2cae6169456d3c963.tar.xz freeipa-df28017eafc5c51f1fc136b2cae6169456d3c963.zip |
Init smods to prevent crash if encode_keys fails
Diffstat (limited to 'daemons/ipa-slapi-plugins')
-rw-r--r-- | daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd_common.c b/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd_common.c index 99ade1211..31ecb1e42 100644 --- a/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd_common.c +++ b/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd_common.c @@ -1092,7 +1092,7 @@ int ipapwd_SetPassword(struct ipapwd_krbcfg *krbcfg, struct ipapwd_data *data, int is_krb) { int ret = 0; - Slapi_Mods *smods; + Slapi_Mods *smods = NULL; Slapi_Value **svals = NULL; Slapi_Value **pwvals = NULL; struct tm utctime; |