fix endless loop in afl-cc allow/blocklists starting a line with a comment

This commit is contained in:
van Hauser
2020-12-20 14:30:06 +01:00
parent a6116ed533
commit 98ee17bc47
9 changed files with 78 additions and 50 deletions

View File

@ -401,7 +401,8 @@ void read_afl_environment(afl_state_t *afl, char **envp) {
afl->afl_env.afl_crash_exitcode =
(u8 *)get_afl_env(afl_environment_variables[i]);
#if defined USE_COLOR && ! defined ALWAYS_COLORED
#if defined USE_COLOR && !defined ALWAYS_COLORED
} else if (!strncmp(env, "AFL_NO_COLOR",
afl_environment_variable_len)) {