Skip to content

Commit

Permalink
Use-after-free from Martin Brandenburg.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicm committed Jan 4, 2017
1 parent 2031ca5 commit 71a3ff1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fetch-mbox.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ fetch_mbox_save(struct account *a, struct fetch_mbox_mbox *fmbox)
goto error;
}

fetch_mbox_free(this);
TAILQ_REMOVE(&data->kept, this, entry);
fetch_mbox_free(this);
}

if (fsync(fd) != 0)
Expand Down

0 comments on commit 71a3ff1

Please sign in to comment.