Skip to content

Commit

Permalink
Fix index variable in value set mmio model parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
Scepticz committed Nov 4, 2022
1 parent aae1c2a commit 20a3deb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion harness/fuzzware_harness/native/native_hooks.c
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ uc_err register_value_set_mmio_models(uc_engine *uc, uint64_t *starts, uint64_t

model_configs[i].num_vals = value_nums[i];
model_configs[i].values = calloc(value_nums[i], sizeof(**value_lists));
for (int j = 0; j < value_nums[j]; ++j) {
for (int j = 0; j < value_nums[i]; ++j) {
model_configs[i].values[j] = value_lists[i][j];
}

Expand Down

0 comments on commit 20a3deb

Please sign in to comment.