diff options
author | Eric Sesterhenn <snakebyte@gmx.de> | 2006-09-26 13:22:13 +0200 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-10-01 15:04:48 -0500 |
commit | 80c6e3c0b5eb855b69270658318f5ccf04d7b1ff (patch) | |
tree | b4d707c023e84b5a783057e3538e1b8921d8c5ee /drivers/scsi/stex.c | |
parent | 7b75b990e3cb33fd529640d589e77950e72a607c (diff) | |
download | op-kernel-dev-80c6e3c0b5eb855b69270658318f5ccf04d7b1ff.zip op-kernel-dev-80c6e3c0b5eb855b69270658318f5ccf04d7b1ff.tar.gz |
[SCSI] fix scsi_device_types overrun in scsi.c
this overrun was spotted by coverity (cid #1403).
If type == ARRAY_SIZE(scsi_device_types), we are off by one.
Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/stex.c')
0 files changed, 0 insertions, 0 deletions