no more waitpid warning
MODIFY
src/afl-forkserver.c
src/afl-forkserver.c
@@ -631,11 +631,15 @@ void afl_fsrv_start(afl_forkserver_t *fsrv, char **argv,
static void afl_fsrv_kill(afl_forkserver_t *fsrv) {
if (fsrv->child_pid > 0) kill(fsrv->child_pid, SIGKILL);
- if (fsrv->fsrv_pid > 0) kill(fsrv->fsrv_pid, SIGKILL);
+ if (fsrv->fsrv_pid > 0) {
+
+ kill(fsrv->fsrv_pid, SIGKILL);
if (waitpid(fsrv->fsrv_pid, NULL, 0) <= 0) { WARNF("error waitpid\n"); }
}
+}
+
void afl_fsrv_killall() {
LIST_FOREACH(&fsrv_list, afl_forkserver_t, {

no more waitpid warning