Fix various issues found by Coverity

This commit is contained in:
Sumit Bose
2012-10-02 11:25:04 +02:00
committed by Martin Kosek
parent 2d42737d01
commit c1b922352f
6 changed files with 22 additions and 12 deletions

View File

@@ -1525,7 +1525,7 @@ static int set_cross_realm_pw(struct ldapsam_privates *ldap_state,
krb5_error_code krberr;
krb5_context krbctx;
krb5_principal service_princ;
struct keys_container keys;
struct keys_container keys = {0, NULL};
char *err_msg;
struct berval *reqdata = NULL;
struct berval *retdata = NULL;