From: Pierangelo Masarati Date: Tue, 1 Nov 2005 13:42:51 +0000 (+0000) Subject: eat up values of removed attrs X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~151 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cedb88c3734368d87d50443cd90e3a0ab1b7fdea;p=openldap eat up values of removed attrs --- diff --git a/servers/slapd/back-meta/search.c b/servers/slapd/back-meta/search.c index 7adabf379e..ccd058c2a4 100644 --- a/servers/slapd/back-meta/search.c +++ b/servers/slapd/back-meta/search.c @@ -926,6 +926,7 @@ meta_send_entry( ldap_back_map( &mi->mi_targets[ target ].mt_rwmap.rwm_at, &a, &mapped, BACKLDAP_REMAP ); if ( BER_BVISNULL( &mapped ) || mapped.bv_val[0] == '\0' ) { + ( void )ber_scanf( &ber, "x" /* [W] */ ); continue; } attr = ( Attribute * )ch_calloc( 1, sizeof( Attribute ) );