diff options
author | Hannes Reinecke <hare@suse.de> | 2017-09-15 14:05:16 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-09-15 15:16:49 -0400 |
commit | 3e0097499839e0fe3af380410eababe5a47c4cf9 (patch) | |
tree | 6832509ca4b548ac72e54b000c58b00847dbb835 /drivers/fsi | |
parent | 4759df905a474d245752c9dc94288e779b8734dd (diff) |
scsi: sg: fixup infoleak when using SG_GET_REQUEST_TABLE
When calling SG_GET_REQUEST_TABLE ioctl only a half-filled table is
returned; the remaining part will then contain stale kernel memory
information. This patch zeroes out the entire table to avoid this
issue.
Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/fsi')
0 files changed, 0 insertions, 0 deletions