summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--service_passwords.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/service_passwords.c b/service_passwords.c
index 1a60fc5..a1d8f6d 100644
--- a/service_passwords.c
+++ b/service_passwords.c
@@ -261,7 +261,7 @@ fail1:
*/
static int auth_with_password_fallback(char *dn, struct berval *credentials)
{
- char *parent_dn;
+ char *parent_dn = NULL;
int rc = 0;
char fn[] = "auth_with_password_fallback in service_passwords plug-in";
@@ -314,13 +314,13 @@ static int auth_with_password_fallback(char *dn, struct berval *credentials)
*/
static int pre_bind(Slapi_PBlock *pb)
{
- char *dn;
- int method;
- struct berval *credentials;
- int is_replication;
- int is_internal;
+ char *dn = NULL;
+ int method = 0;
+ struct berval *credentials = NULL;
+ int is_replication = 0;
+ int is_internal = 0;
- char *parent_dn;
+ char *parent_dn = NULL;
int rc = 0;
char fn[] = "pre_bind in service_passwords plug-in";