mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
ITS#4966 valsort_modify: ignore Delete modops with no values
This commit is contained in:
parent
5af8347be4
commit
6186117f97
@ -447,6 +447,9 @@ valsort_modify( Operation *op, SlapReply *rs )
|
||||
if ( !(vi->vi_sort & VALSORT_WEIGHTED ))
|
||||
continue;
|
||||
for (ml = op->orm_modlist; ml; ml=ml->sml_next ) {
|
||||
/* Must be a Delete Attr op, so no values to consider */
|
||||
if ( !ml->sml_values )
|
||||
continue;
|
||||
if ( ml->sml_desc == vi->vi_ad )
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user