From a9b9a76bbbe8dbd8a9a9048ec7a5d97149e223c4 Mon Sep 17 00:00:00 2001 From: dloffre-snl <50888856+dloffre-snl@users.noreply.github.com> Date: Thu, 2 Sep 2021 17:19:18 -0600 Subject: Update symcc mutator to new afl_custom_queue_new_entry signature (#1087) Co-authored-by: van Hauser --- custom_mutators/symcc/symcc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'custom_mutators/symcc') diff --git a/custom_mutators/symcc/symcc.c b/custom_mutators/symcc/symcc.c index 19218449..86f23343 100644 --- a/custom_mutators/symcc/symcc.c +++ b/custom_mutators/symcc/symcc.c @@ -129,7 +129,7 @@ uint8_t afl_custom_queue_new_entry(my_mutator_t * data, int pid = fork(); - if (pid == -1) return; + if (pid == -1) return 0; if (pid) { @@ -147,7 +147,7 @@ uint8_t afl_custom_queue_new_entry(my_mutator_t * data, if (r <= 0) { close(pipefd[1]); - return; + return 0; } -- cgit 1.4.1