Addressing nits

This commit is contained in:
Dario Pavlovic
2019-09-09 16:13:24 -07:00
parent 3932fcfebc
commit ea1ad123da
2 changed files with 6 additions and 2 deletions
+2 -2
View File
@@ -31,8 +31,8 @@ int LLVMFuzzerTestOneInput(const uint8_t *src, size_t size)
FUZZ_ASSERT(dctx);
}
size_t const bufSize = FUZZ_dataProducer_uint32Range(producer, 0, 2 * size);
void* rBuf = malloc(bufSize);
size_t const bufSize = FUZZ_dataProducer_uint32Range(producer, 0, 10 * size);
void *rBuf = malloc(bufSize);
FUZZ_ASSERT(rBuf);
/* Restrict to remaining data. If we run out of data while generating params,