diff options
author | vanhauser-thc <vh@thc.org> | 2023-03-09 13:57:03 +0100 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2023-03-09 13:57:03 +0100 |
commit | e0866f51c7984c28866e7acdb153b5304c5cf7da (patch) | |
tree | 43449a7ccf85d33bbfd6375290b23d940b6e767d /test/test-cmplog.c | |
parent | aa125f824619fe3c3ebf5ed8a571340397a7c46a (diff) | |
download | afl++-e0866f51c7984c28866e7acdb153b5304c5cf7da.tar.gz |
support LLVMFuzzerTestOneInput -1 return
Diffstat (limited to 'test/test-cmplog.c')
-rw-r--r-- | test/test-cmplog.c | 2 |
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; |