From b78c9dfa009caf952c93c40fbe4e977dd5e0dec7 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Thu, 6 Oct 2005 19:27:53 +0000 Subject: [PATCH] Add back proper bv_len initialization Need to find and fix test010 properly. --- servers/slapd/passwd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/servers/slapd/passwd.c b/servers/slapd/passwd.c index c8f8ce75b5..4c69a2e6b5 100644 --- a/servers/slapd/passwd.c +++ b/servers/slapd/passwd.c @@ -68,7 +68,9 @@ int passwd_extop( return LDAP_STRONG_AUTH_REQUIRED; } + qpw->rs_old.bv_len = 0; qpw->rs_old.bv_val = NULL; + qpw->rs_new.bv_len = 0; qpw->rs_new.bv_val = NULL; qpw->rs_mods = NULL; qpw->rs_modtail = NULL;