mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-19 02:28:47 -05:00
ITS#7143 add FIXME comment, note that current patch is not ideal
This commit is contained in:
parent
272f04f589
commit
087dcf4007
1 changed files with 6 additions and 0 deletions
|
|
@ -1277,6 +1277,12 @@ rwm_attrs( Operation *op, SlapReply *rs, Attribute** a_first, int stripEntryDN )
|
|||
NULL );
|
||||
|
||||
if ( rc != LDAP_SUCCESS ) {
|
||||
/* FIXME: this is wrong, putting a non-normalized value
|
||||
* into nvals. But when a proxy sends us bogus data,
|
||||
* we still need to give it to the client, even if it
|
||||
* violates the syntax. I.e., we don't want to silently
|
||||
* drop things and trigger an apparent data loss.
|
||||
*/
|
||||
ber_dupbv( &(*ap)->a_nvals[i], &(*ap)->a_vals[i] );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue