aboutsummaryrefslogtreecommitdiffstats
path: root/executor
diff options
context:
space:
mode:
Diffstat (limited to 'executor')
-rw-r--r--executor/executor_linux.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/executor/executor_linux.cc b/executor/executor_linux.cc
index d66be92d2..b71290825 100644
--- a/executor/executor_linux.cc
+++ b/executor/executor_linux.cc
@@ -92,7 +92,8 @@ int main(int argc, char** argv)
while (waitpid(-1, &status, __WALL) != pid) {
}
status = WEXITSTATUS(status);
- if (status == 0)
+ // Other statuses happen when fuzzer processes manages to kill loop.
+ if (status != kFailStatus && status != kErrorStatus)
status = kRetryStatus;
// If an external sandbox process wraps executor, the out pipe will be closed
// before the sandbox process exits this will make ipc package kill the sandbox.