summaryrefslogtreecommitdiffhomepage
path: root/fuzz-harness.c
diff options
context:
space:
mode:
Diffstat (limited to 'fuzz-harness.c')
-rw-r--r--fuzz-harness.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fuzz-harness.c b/fuzz-harness.c
index eabc58a..ced707c 100644
--- a/fuzz-harness.c
+++ b/fuzz-harness.c
@@ -29,6 +29,7 @@ int main(int argc, char ** argv) {
buf_readfile(input, fn);
buf_setpos(input, 0);
+ /* Run twice to catch problems with statefulness */
fuzz.wrapfds = old_fuzz_wrapfds;
printf("Running %s once \n", fn);
LLVMFuzzerTestOneInput(input->data, input->len);