[SCSI] ipr: fix buffer overflow
authorBrian King <brking@linux.vnet.ibm.com>
Thu, 30 Jul 2009 15:58:51 +0000 (10:58 -0500)
committerJames Bottomley <James.Bottomley@suse.de>
Sat, 22 Aug 2009 22:52:12 +0000 (17:52 -0500)
commit0124ca9d8ee58b3cd028a23cef2fe225fcfee3b8
treeeb4e0d6607fa4d128aa24d8811d4c67d89732daf
parentc19dcd011238118ad07d3ab7ed1bbc4916826324
[SCSI] ipr: fix buffer overflow

ipr_cmd_label[] isn't big enough for an eight byte string plus terminator.
Fix by shortening the string to seven bytes.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/ipr.h