[SCSI] ibmvfc: Sanitize response lengths
authorBrian King <brking@linux.vnet.ibm.com>
Fri, 15 Aug 2008 15:59:26 +0000 (10:59 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 16 Aug 2008 15:49:01 +0000 (10:49 -0500)
commit2bac406df52100aec42e230a2cc2986d34e86218
treea862e7a4ac91f9aceff797fc728619a7251b3db5
parentcf6f10d794ab4a9bd84fce345c3947588670d5f5
[SCSI] ibmvfc: Sanitize response lengths

Sanitize the response lengths in order to prevent possible oopses
in the command response path.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/ibmvscsi/ibmvfc.c