mirror of
https://github.com/samba-team/samba.git
synced 2025-03-09 08:58:35 +03:00
s4/vampire: fixed i/j index mixup in vampire code
This commit is contained in:
parent
a84a82335c
commit
557cc460f2
@ -234,9 +234,9 @@ static NTSTATUS vampire_apply_schema(struct vampire_state *s,
|
||||
for (j=0; j < a->value_ctr.num_values; j++) {
|
||||
uint32_t val = 0xFFFFFFFF;
|
||||
|
||||
if (a->value_ctr.values[i].blob
|
||||
&& a->value_ctr.values[i].blob->length == 4) {
|
||||
val = IVAL(a->value_ctr.values[i].blob->data,0);
|
||||
if (a->value_ctr.values[j].blob
|
||||
&& a->value_ctr.values[j].blob->length == 4) {
|
||||
val = IVAL(a->value_ctr.values[j].blob->data,0);
|
||||
}
|
||||
|
||||
if (val == DRSUAPI_OBJECTCLASS_attributeSchema) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user