diff options
author | Brian King <brking@linux.vnet.ibm.com> | 2009-07-30 10:58:51 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-08-22 17:52:12 -0500 |
commit | 0124ca9d8ee58b3cd028a23cef2fe225fcfee3b8 (patch) | |
tree | eb4e0d6607fa4d128aa24d8811d4c67d89732daf /drivers/scsi/ses.c | |
parent | c19dcd011238118ad07d3ab7ed1bbc4916826324 (diff) | |
download | op-kernel-dev-0124ca9d8ee58b3cd028a23cef2fe225fcfee3b8.zip op-kernel-dev-0124ca9d8ee58b3cd028a23cef2fe225fcfee3b8.tar.gz |
[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>
Diffstat (limited to 'drivers/scsi/ses.c')
0 files changed, 0 insertions, 0 deletions