reintroduce AFL_PERSISTENT and AFL_DEFER_FORKSRV

This commit is contained in:
vanhauser-thc
2022-02-08 20:15:48 +01:00
parent fa628865c1
commit cf853fb249
7 changed files with 33 additions and 45 deletions

View File

@ -486,15 +486,15 @@ void read_afl_environment(afl_state_t *afl, char **envp) {
afl_environment_variable_len)) {
afl->min_length = atoi(
(u8 *)get_afl_env(afl_environment_variables[i]));
afl->min_length =
atoi((u8 *)get_afl_env(afl_environment_variables[i]));
} else if (!strncmp(env, "AFL_INPUT_LEN_MAX",
afl_environment_variable_len)) {
afl->max_length = atoi(
(u8 *)get_afl_env(afl_environment_variables[i]));
afl->max_length =
atoi((u8 *)get_afl_env(afl_environment_variables[i]));
}