mbox series

[v4,0/2] scsi: core: fix uninit-value access of variable sshdr

Message ID 1571293177-117087-1-git-send-email-zhengbin13@huawei.com (mailing list archive)
Headers show
Series scsi: core: fix uninit-value access of variable sshdr | expand

Message

Zheng Bin Oct. 17, 2019, 6:19 a.m. UTC
v1->v2: modify the comments suggested by Bart
v2->v3: fix bug in sr_do_ioctl
v3->v4: let "fix bug in sr_do_ioctl" be a separate patch

zhengbin (2):
  sr: need to check whether sshdr is valid in sr_do_ioctl
  scsi: core: fix uninit-value access of variable sshdr

 drivers/scsi/scsi_lib.c | 7 +++++++
 drivers/scsi/sr_ioctl.c | 5 +++++
 2 files changed, 12 insertions(+)

--
2.7.4