Skip to content

Commit

Permalink
vos: Fix evt_ctl stack buffer overflow
Browse files Browse the repository at this point in the history
Signed-off-by: Li Wei <[email protected]>
Required-githooks: true
  • Loading branch information
liw committed Aug 26, 2024
1 parent 59ba855 commit d1a8291
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vos/tests/evt_ctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1770,7 +1770,7 @@ insert_val(struct test_arg *arg, daos_handle_t toh, daos_epoch_t epoch, uint64_t

memset(&entry.ei_csum, 0, sizeof(entry.ei_csum));

rc = bio_alloc_init(arg->ta_utx, &entry.ei_addr, &data, length);
rc = bio_alloc_init(arg->ta_utx, &entry.ei_addr, data, length);
if (rc != 0)
return rc;

Expand Down

0 comments on commit d1a8291

Please sign in to comment.