From: Pierangelo Masarati Date: Mon, 5 Apr 2004 17:25:22 +0000 (+0000) Subject: check in portions of code is done on length rather than pointer X-Git-Tag: OPENLDAP_REL_ENG_2_2_BP~149 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0b37fb4eb1b16351fc1717f63caafab8b39894c1;p=openldap check in portions of code is done on length rather than pointer --- diff --git a/servers/slapd/passwd.c b/servers/slapd/passwd.c index bfb271b675..d2a85f818c 100644 --- a/servers/slapd/passwd.c +++ b/servers/slapd/passwd.c @@ -59,7 +59,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;