Update symcc mutator to new afl_custom_queue_new_entry signature (#1087)

Co-authored-by: van Hauser <vh@thc.org>
This commit is contained in:
dloffre-snl 2021-09-02 17:19:18 -06:00 committed by GitHub
parent 6d6353d917
commit a9b9a76bbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}