Searched hist:a00a7862513089f17209b732f230922f1942e0b9 (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/scsi/ |
H A D | sr.c | diff a00a7862513089f17209b732f230922f1942e0b9 Fri Mar 17 13:47:14 CET 2017 Martin K. Petersen <martin.petersen@oracle.com> scsi: sr: Sanity check returned mode data
Kefeng Wang discovered that old versions of the QEMU CD driver would return mangled mode data causing us to walk off the end of the buffer in an attempt to parse it. Sanity check the returned mode sense data.
Cc: <stable@vger.kernel.org> Reported-by: Kefeng Wang <wangkefeng.wang@huawei.com> Tested-by: Kefeng Wang <wangkefeng.wang@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
|