diff options
Diffstat (limited to 'ossfuzz/compress_fuzzer.c')
-rw-r--r-- | ossfuzz/compress_fuzzer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ossfuzz/compress_fuzzer.c b/ossfuzz/compress_fuzzer.c index 42efbd3..9d72e72 100644 --- a/ossfuzz/compress_fuzzer.c +++ b/ossfuzz/compress_fuzzer.c @@ -22,7 +22,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) char* const rt = (char*)malloc(size); /* Restrict to remaining data from producer */ - size = producer->size; + size = FUZZ_dataProducer_remainingBytes(producer); FUZZ_ASSERT(dst); FUZZ_ASSERT(rt); |