ITS#7143 don't leave empty slots in normalized attr values

This commit is contained in:
Howard Chu 2012-02-03 11:43:40 -08:00
parent ba4366eae0
commit ef2f5263de

View File

@ -1277,7 +1277,7 @@ rwm_attrs( Operation *op, SlapReply *rs, Attribute** a_first, int stripEntryDN )
NULL );
if ( rc != LDAP_SUCCESS ) {
BER_BVZERO( &(*ap)->a_nvals[i] );
ber_dupbv( &(*ap)->a_nvals[i], &(*ap)->a_vals[i] );
}
}
BER_BVZERO( &(*ap)->a_nvals[i] );