mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-15 03:18:07 +00:00
honor AFL_MAP_SIZE well outside of afl++
This commit is contained in:
@ -526,11 +526,18 @@ void read_afl_environment(afl_state_t *afl, char **envp) {
|
||||
|
||||
int time = atoi((u8 *)get_afl_env(afl_environment_variables[i]));
|
||||
if (time > 0) {
|
||||
afl->sync_time = time * (60 * 1000LL);
|
||||
|
||||
afl->sync_time = time * (60 * 1000LL);
|
||||
|
||||
} else {
|
||||
WARNF("incorrect value for AFL_SYNC_TIME environment variable, "
|
||||
"used default value %lld instead.", afl->sync_time / 60 / 1000);
|
||||
|
||||
WARNF(
|
||||
"incorrect value for AFL_SYNC_TIME environment variable, "
|
||||
"used default value %lld instead.",
|
||||
afl->sync_time / 60 / 1000);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user