From: Kurt Zeilenga Date: Thu, 6 Oct 2005 19:27:53 +0000 (+0000) Subject: Add back proper bv_len initialization X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~311 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b78c9dfa009caf952c93c40fbe4e977dd5e0dec7;p=openldap Add back proper bv_len initialization Need to find and fix test010 properly. --- 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;