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 8, 2024
1 parent b63570a commit f315e8c
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 f315e8c

Please sign in to comment.