From: HighPoint Linux Team Date: Mon, 15 Oct 2007 06:42:52 +0000 (+0800) Subject: [SCSI] hptiop: avoid buffer overflow when returning sense data X-Git-Tag: v2.6.24-rc1~19^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0fec02c93f60fb44ba3a24a0d3e4a52521d34d3f;p=pandora-kernel.git [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 Signed-off-by: James Bottomley --- Reading git-diff-tree failed