summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/i2c-core.h
diff options
context:
space:
mode:
authorHighPoint Linux Team2007-10-15 08:42:52 +0200
committerJames Bottomley2007-10-18 03:56:13 +0200
commit0fec02c93f60fb44ba3a24a0d3e4a52521d34d3f (patch)
treef46f69d450964347e0251a81133ab7ac2af784d9 /drivers/i2c/i2c-core.h
parent[SCSI] make supported_mode default to initiator. (diff)
downloadkernel-qcow2-linux-0fec02c93f60fb44ba3a24a0d3e4a52521d34d3f.tar.gz
kernel-qcow2-linux-0fec02c93f60fb44ba3a24a0d3e4a52521d34d3f.tar.xz
kernel-qcow2-linux-0fec02c93f60fb44ba3a24a0d3e4a52521d34d3f.zip
[SCSI] hptiop: avoid buffer overflow when returning sense data
The newer firmware may return more than 96 bytes of sense data when it does autosense. Truncate this to the size of the SCSI layer sense buffer to avoid an overrun. Signed-off-by: HighPoint Linux Team <linux@highpoint-tech.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/i2c/i2c-core.h')
0 files changed, 0 insertions, 0 deletions