mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-13 18:48:08 +00:00
fixes two huge bugs
This commit is contained in:
@ -1851,7 +1851,8 @@ havoc_stage:
|
||||
|
||||
}
|
||||
|
||||
if (unlikely(get_cur_time() - afl->last_path_time > 5000)) {
|
||||
if (unlikely(get_cur_time() - afl->last_path_time > 5000 &&
|
||||
afl->ready_for_splicing_count > 1)) {
|
||||
|
||||
/* add expensive havoc cases here if there is no findings in the last 5s */
|
||||
|
||||
|
@ -587,9 +587,10 @@ void sync_fuzzers(afl_state_t *afl) {
|
||||
|
||||
u8 entry[12];
|
||||
sprintf(entry, "id:%06u", next_min_accept);
|
||||
|
||||
while (m < n) {
|
||||
|
||||
if (memcmp(namelist[m]->d_name, entry, 9)) {
|
||||
if (strcmp(namelist[m]->d_name, entry)) {
|
||||
|
||||
m++;
|
||||
|
||||
|
@ -1154,7 +1154,8 @@ void show_init_stats(afl_state_t *afl) {
|
||||
|
||||
} else {
|
||||
|
||||
OKF("-t option specified. We'll use an exec timeout of %s ms.", afl->fsrv.exec_tmout);
|
||||
ACTF("-t option specified. We'll use an exec timeout of %d ms.",
|
||||
afl->fsrv.exec_tmout);
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user