mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-14 02:58:08 +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:
@ -702,7 +702,7 @@ without feedback, bug reports, or patches from:
|
|||||||
Nathan Voss Dominik Maier
|
Nathan Voss Dominik Maier
|
||||||
Andrea Biondo Vincent Le Garrec
|
Andrea Biondo Vincent Le Garrec
|
||||||
Khaled Yakdan Kuang-che Wu
|
Khaled Yakdan Kuang-che Wu
|
||||||
Josephine Calliotte
|
Josephine Calliotte Konrad Welc
|
||||||
```
|
```
|
||||||
|
|
||||||
Thank you!
|
Thank you!
|
||||||
|
@ -1024,6 +1024,7 @@ int main(int argc, char** argv, char** envp) {
|
|||||||
if (most_time * 1000 < cur_ms_lv - start_time) {
|
if (most_time * 1000 < cur_ms_lv - start_time) {
|
||||||
|
|
||||||
most_time_key = 2;
|
most_time_key = 2;
|
||||||
|
stop_soon = 2;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -1035,6 +1036,7 @@ int main(int argc, char** argv, char** envp) {
|
|||||||
if (most_execs <= total_execs) {
|
if (most_execs <= total_execs) {
|
||||||
|
|
||||||
most_execs_key = 2;
|
most_execs_key = 2;
|
||||||
|
stop_soon = 2;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user