Skip to content

Commit

Permalink
spng_read_fuzzer: fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
randy408 committed Dec 15, 2021
1 parent 030b94a commit 0e4b64a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/spng_read_fuzzer.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ struct buf_state
static int buffer_read_fn(spng_ctx *ctx, void *user, void *dest, size_t length)
{
struct buf_state *state = (struct buf_state*)user;
(void)ctx;

if(length > state->bytes_left) return SPNG_IO_EOF;

Expand Down

0 comments on commit 0e4b64a

Please sign in to comment.