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