Skip to content

Commit

Permalink
use binn_load_ex on fuzzer
Browse files Browse the repository at this point in the history
  • Loading branch information
kroggen committed Jan 31, 2024
1 parent 124d91b commit 16ea87b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fuzzing/fuzz_decoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@

static void decode_binn(const unsigned char *buf, unsigned int len){
binn item;

binn_load(buf, &item);
binn_load_ex(buf, len, &item);
}

int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
Expand Down

0 comments on commit 16ea87b

Please sign in to comment.