diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-05-15 15:56:05 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-06-26 12:32:15 -0400 |
commit | 5cc973f09e21b5a2f746307641879bc9f1da623b (patch) | |
tree | 62912b610951a7b5fe5b7b3622903dedc84548bb /drivers/oprofile/cpu_buffer.c | |
parent | b609b1c753364c6bf6f8666c82047d239fba6889 (diff) |
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: 423400e64d377 ("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>
Diffstat (limited to 'drivers/oprofile/cpu_buffer.c')
0 files changed, 0 insertions, 0 deletions