Commit 821477b1da48e021058b78b0ff08e39b2619e5f5

Martin Mitas 2024-01-10T17:35:46

Fix typo in fuzz-mdhtml.c, preventing oss-fuzz from working.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/test/fuzzers/fuzz-mdhtml.c b/test/fuzzers/fuzz-mdhtml.c
index f1a1bca..4e0f601 100644
--- a/test/fuzzers/fuzz-mdhtml.c
+++ b/test/fuzzers/fuzz-mdhtml.c
@@ -24,7 +24,7 @@ LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
     parser_flags = ((unsigned*)data)[0];
     renderer_flags = ((unsigned*)data)[1];
     data += 2 * sizeof(unsigned);
-    ize -= 2 * sizeof(unsigned);
+    size -= 2 * sizeof(unsigned);
 
     md_html(data, size, process_output, NULL, parser_flags, renderer_flags);
     return 0;