about summary refs log tree commit diff
path: root/test/test-cmplog.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2023-03-17 12:47:33 +0100
committerGitHub <noreply@github.com>2023-03-17 12:47:33 +0100
commit24503fba5fd2580559223ec3c6ee408dfa15e080 (patch)
tree95826d4a61f3c423d0e70eb7f1da568dc793204b /test/test-cmplog.c
parent2ff0ff7a903c57f9df5ed1e97370c187ec45a31e (diff)
parentd80cedcf02f56351bb08e7520ddcd76b0ff3f84e (diff)
downloadafl++-24503fba5fd2580559223ec3c6ee408dfa15e080.tar.gz
Merge pull request #1668 from AFLplusplus/dev
push to stable
Diffstat (limited to 'test/test-cmplog.c')
-rw-r--r--test/test-cmplog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-cmplog.c b/test/test-cmplog.c
index d724ecaf..bd1b73e3 100644
--- a/test/test-cmplog.c
+++ b/test/test-cmplog.c
@@ -8,7 +8,7 @@
 
 int LLVMFuzzerTestOneInput(const uint8_t *buf, size_t i) {
 
-  if (i < 30) return 0;
+  if (i < 30) return -1;
   if (buf[0] != 'A') return 0;
   if (buf[1] != 'B') return 0;
   if (buf[2] != 'C') return 0;