Skip to content

Commit

Permalink
fuzzer: Check DL URI ignored parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
terryburton committed Jul 19, 2024
1 parent aa269bb commit 680161c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/c-lib/gs1encoders-fuzzer-dl.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ int LLVMFuzzerTestOneInput(const uint8_t* const buf, size_t len) {
char outDL1[MAX_DATA+1];
char outDL2[MAX_DATA+1];
const char *out;
char **qp;

if (len > MAX_DATA)
return 0;
Expand Down Expand Up @@ -91,6 +92,8 @@ int LLVMFuzzerTestOneInput(const uint8_t* const buf, size_t len) {
abort();
}

gs1_encoder_getDLignoredQueryParams(ctx, &qp);

return 0;

}

0 comments on commit 680161c

Please sign in to comment.