mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
ITS#7143 don't leave empty slots in normalized attr values
This commit is contained in:
parent
ba4366eae0
commit
ef2f5263de
@ -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] );
|
||||
|
Loading…
Reference in New Issue
Block a user