From 9657577c006c280a77abc2212e9182b977a121a8 Mon Sep 17 00:00:00 2001 From: cpq Date: Thu, 24 Dec 2020 09:09:25 +0000 Subject: [PATCH] Fix typo in fuzz test --- test/fuzz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/fuzz.c b/test/fuzz.c index 90072fc4..81b1a959 100644 --- a/test/fuzz.c +++ b/test/fuzz.c @@ -35,7 +35,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { mg_base64_encode(data, size, buf); mg_base64_encode(NULL, 0, buf); - char *hexdump = mg_hexdump(data, len); + char *hexdump = mg_hexdump(data, size); free(hexdump); mg_globmatch((char *) data, size, (char *) data, size);