Send SIGTERM instead of SIGKILL when execve fails
@@ -249,7 +249,7 @@ static bool subproc_New(honggfuzz_t * hfuzz, fuzzer_t * fuzzer)
}
if (!arch_launchChild(hfuzz, fuzzer->fileName)) {
LOG_E("Error launching child process");
- kill(hfuzz->mainPid, SIGKILL);
+ kill(hfuzz->mainPid, SIGTERM);
_exit(EXIT_FAILURE);
}
abort();
