From c90604f12394792d66b37633919b0537e23a38b3 Mon Sep 17 00:00:00 2001 From: Toka Date: Tue, 1 Jun 2021 02:31:32 +0900 Subject: [PATCH] TimeoutForkserverExecutor fix (#140) * fix the call to kill * fix --- libafl/src/executors/forkserver.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libafl/src/executors/forkserver.rs b/libafl/src/executors/forkserver.rs index ed59c2e254..f1b141f177 100644 --- a/libafl/src/executors/forkserver.rs +++ b/libafl/src/executors/forkserver.rs @@ -388,7 +388,7 @@ where self.executor.forkserver_mut().set_last_run_timed_out(1); // We need to kill the child in case he has timed out, or we can't get the correct pid in the next call to self.executor.forkserver_mut().read_st()? - kill(self.executor.forkserver().child_pid(), Signal::SIGKILL)?; + let _ = kill(self.executor.forkserver().child_pid(), Signal::SIGKILL); let (recv_status_len, _) = self.executor.forkserver_mut().read_st()?; if recv_status_len != 4 { return Err(Error::Forkserver(