mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
scsi: ses: check return code from ses_recv_diag()
We should be checking the return code from ses_recv_diag() to avoid accessing invalid data. Signed-off-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
c8cd71f1f3
commit
acf8ab9a85
1 changed files with 2 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue