mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-13 02:28:09 +00:00
Fix hanging fork and child with -V -E
If we let multiple fuzzers end with -V or -E option, it will cause it to think we are still occupying the cores, even if they are free, once we try to run another job it would return an error that no free nodes are available. This change fixes that problem.
This commit is contained in:
@ -1024,6 +1024,7 @@ int main(int argc, char** argv, char** envp) {
|
||||
if (most_time * 1000 < cur_ms_lv - start_time) {
|
||||
|
||||
most_time_key = 2;
|
||||
stop_soon = 2;
|
||||
break;
|
||||
|
||||
}
|
||||
@ -1035,6 +1036,7 @@ int main(int argc, char** argv, char** envp) {
|
||||
if (most_execs <= total_execs) {
|
||||
|
||||
most_execs_key = 2;
|
||||
stop_soon = 2;
|
||||
break;
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user