correct map size for small targets

This commit is contained in:
vanhauser-thc
2021-06-16 15:33:03 +02:00
parent c46f8c1f70
commit 35153e9b49
6 changed files with 17 additions and 22 deletions

View File

@ -424,8 +424,7 @@ u8 calibrate_case(afl_state_t *afl, struct queue_entry *q, u8 *use_mem,
}
var_detected = 1;
afl->stage_max =
afl->afl_env.afl_cal_fast ? CAL_CYCLES : CAL_CYCLES_LONG;
afl->stage_max = afl->afl_env.afl_cal_fast ? CAL_CYCLES : CAL_CYCLES_LONG;
} else {