diff options
author | HighPoint Linux Team <[email protected]> | 2007-10-15 14:42:52 +0800 |
---|---|---|
committer | James Bottomley <[email protected]> | 2007-10-17 21:56:13 -0400 |
commit | 0fec02c93f60fb44ba3a24a0d3e4a52521d34d3f (patch) | |
tree | f46f69d450964347e0251a81133ab7ac2af784d9 /lib/kobject.c | |
parent | 7a39ac3f25bef018862a991d754aff681c019127 (diff) |
[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 <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'lib/kobject.c')
0 files changed, 0 insertions, 0 deletions