Skip to content

Commit

Permalink
Fix compilation error in AFLplusplus#10
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeyJiao committed Aug 20, 2020
1 parent 9ba8186 commit 9ee9a7b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/threads.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ static struct task_struct *next_tid(struct task_struct *start) {

void recover_threads_snapshot(struct task_data *data) {

struct task_struct *t = get_task_struct(data->tsk->group_leader);
struct task_struct *t = data->tsk->group_leader;
atomic_inc(&(data->tsk->group_leader)->usage);

while (t) {

if (t != data->tsk) send_sig(SIGKILL, t, 1);
Expand Down

0 comments on commit 9ee9a7b

Please sign in to comment.