Skip to content

Commit

Permalink
fuzz_attobj: initialize dummy
Browse files Browse the repository at this point in the history
  • Loading branch information
LDVG committed May 10, 2024
1 parent a8bb946 commit c23ed8c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fuzz/fuzz_attobj.c
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ pack_dummy(uint8_t *ptr, size_t len)
uint8_t blob[MAXCORPUS];
size_t blob_len;

memset(&dummy, 0, sizeof(dummy));
dummy.type = 1;

strlcpy(dummy.rp_id, dummy_rp_id, sizeof(dummy.rp_id));
Expand Down

0 comments on commit c23ed8c

Please sign in to comment.