use result of validation (ITS#4028)

This commit is contained in:
Pierangelo Masarati 2005-09-19 09:06:29 +00:00
parent 123948bd5e
commit ae0b39e3cc

View File

@ -1054,11 +1054,29 @@ meta_send_entry(
&attr->a_vals[i] );
}
if ( rc ) {
LBER_FREE( attr->a_vals[i].bv_val );
if ( --last == i ) {
BER_BVZERO( &attr->a_vals[ i ] );
break;
}
attr->a_vals[i] = attr->a_vals[last];
BER_BVZERO( &attr->a_vals[last] );
i--;
continue;
}
if ( pretty ) {
LBER_FREE( attr->a_vals[i].bv_val );
attr->a_vals[i] = pval;
}
}
if ( last == 0 ) {
ch_free( attr->a_vals );
ch_free( attr );
goto next_attr;
}
}
if ( last && attr->a_desc->ad_type->sat_equality &&