mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
Fix content rule validation code -- don't use validation result variable
as an iterator!
This commit is contained in:
parent
1e49fdc634
commit
eed45f454c
@ -440,10 +440,12 @@ entry_schema_check(
|
||||
int k;
|
||||
|
||||
if( cr ) {
|
||||
int j;
|
||||
|
||||
k = -1;
|
||||
if( cr->scr_auxiliaries ) {
|
||||
for( ; cr->scr_auxiliaries[k]; k++ ) {
|
||||
if( cr->scr_auxiliaries[k] == oc ) {
|
||||
for( j = 0; cr->scr_auxiliaries[j]; j++ ) {
|
||||
if( cr->scr_auxiliaries[j] == oc ) {
|
||||
k = 0;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user