linux/drivers/scsi/aacraid
Colin Ian King 5cc973f09e scsi: aacraid: fix leak of data from stack back to userspace
The fields sense_data_size and sense_data are unitialized garbage from
the stack and are being copied back to userspace.  Fix this leak of
stack information by ensuring they are zero'd.

Detected by CoverityScan, CID#1435473 ("Uninitialized scalar variable")

Fixes: 423400e64d ("scsi: aacraid: Include HBA direct interface")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Dave Carroll <david.carroll@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-06-26 12:32:15 -04:00
..
aachba.c scsi: aacraid: Fix DMAR issues with iommu=pt 2017-06-12 20:47:59 -04:00
aacraid.h scsi: aacraid: Update driver version to 50834 2017-06-12 20:48:00 -04:00
commctrl.c scsi: aacraid: fix leak of data from stack back to userspace 2017-06-26 12:32:15 -04:00
comminit.c scsi: aacraid: Remove reference to Series-9 2017-06-12 20:48:00 -04:00
commsup.c scsi: aacraid: Remove reference to Series-9 2017-06-12 20:48:00 -04:00
dpcsup.c scsi: aacraid: Update copyrights 2017-02-03 10:35:04 -05:00
linit.c scsi: aacraid: Remove reference to Series-9 2017-06-12 20:48:00 -04:00
Makefile
nark.c scsi: aacraid: Update copyrights 2017-02-03 10:35:04 -05:00
rkt.c scsi: aacraid: Update copyrights 2017-02-03 10:35:04 -05:00
rx.c scsi: aacraid: pci_alloc_consistent() failures on ARM64 2017-04-26 18:28:06 -04:00
sa.c scsi: aacraid: Update copyrights 2017-02-03 10:35:04 -05:00
src.c scsi: aacraid: Add reset debugging statements 2017-06-12 20:48:00 -04:00
TODO