Skip to content

Commit

Permalink
fix use after free in recent commit
Browse files Browse the repository at this point in the history
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
  • Loading branch information
sahlberg committed May 29, 2024
1 parent 2227e7b commit b25ee4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/scsi-lowlevel.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ scsi_free_scsi_task(struct scsi_task *task)
}

free(task->datain.data);
free(task);
task->datain.data = NULL;
free(task);
task = NULL;
}

Expand Down

0 comments on commit b25ee4f

Please sign in to comment.