mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Removed initialization of old.bv_len and new.bv_len cures
the recent test010 failure! hmmmm.....
This commit is contained in:
parent
572ca2db94
commit
d72f862fa7
@ -68,9 +68,7 @@ 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;
|
||||
@ -84,8 +82,10 @@ int passwd_extop(
|
||||
qpw->rs_old.bv_val ? " old" : "",
|
||||
qpw->rs_new.bv_val ? " new" : "", 0 );
|
||||
} else {
|
||||
Statslog( LDAP_DEBUG_STATS, "%s PASSMOD\n",
|
||||
op->o_log_prefix, 0, 0, 0, 0 );
|
||||
Statslog( LDAP_DEBUG_STATS, "%s PASSMOD %s%s\n",
|
||||
op->o_log_prefix,
|
||||
qpw->rs_old.bv_val ? " old" : "",
|
||||
qpw->rs_new.bv_val ? " new" : "", 0, 0 );
|
||||
}
|
||||
|
||||
if ( rs->sr_err != LDAP_SUCCESS ) {
|
||||
|
Loading…
Reference in New Issue
Block a user