]> git.sur5r.net Git - openldap/commitdiff
Add back proper bv_len initialization
authorKurt Zeilenga <kurt@openldap.org>
Thu, 6 Oct 2005 19:27:53 +0000 (19:27 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 6 Oct 2005 19:27:53 +0000 (19:27 +0000)
Need to find and fix test010 properly.

servers/slapd/passwd.c

index c8f8ce75b510b2e3350c61250f5857221eacf7b6..4c69a2e6b5f4845ec72990bf3bec472b807573ab 100644 (file)
@@ -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;