mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-17 04:18:06 +00:00
another fix for disabled entries
This commit is contained in:
@ -1770,12 +1770,15 @@ int main(int argc, char **argv_orig, char **envp) {
|
||||
if (unlikely(afl->old_seed_selection)) {
|
||||
|
||||
afl->current_entry = 0;
|
||||
while (unlikely(afl->queue_buf[afl->current_entry]->disabled)) {
|
||||
while (unlikely(afl->current_entry < afl->queued_paths &&
|
||||
afl->queue_buf[afl->current_entry]->disabled)) {
|
||||
|
||||
++afl->current_entry;
|
||||
|
||||
}
|
||||
|
||||
if (afl->current_entry >= afl->queued_paths) { afl->current_entry = 0; }
|
||||
|
||||
afl->queue_cur = afl->queue_buf[afl->current_entry];
|
||||
|
||||
if (unlikely(seek_to)) {
|
||||
|
Reference in New Issue
Block a user