fixed ngram size unset

This commit is contained in:
Dominik Maier
2020-09-13 15:00:10 +02:00
parent 7f94fe3587
commit 7cdbe3173e

View File

@ -1108,7 +1108,7 @@ int main(int argc, char **argv, char **envp) {
if (!*ptr) {
if ((ptr = getenv("AFL_LLVM_NGRAM_SIZE")) != NULL)
if ((ptr = getenv("AFL_LLVM_NGRAM_SIZE")) == NULL)
FATAL(
"you must set the NGRAM size with (e.g. for value 2) "
"AFL_LLVM_INSTRUMENT=ngram-2");