commit | 1a34456bbbdaa939ffa567d15a0797c269f901b7 | [log] [tgz] |
---|---|---|
author | Eric Sesterhenn <snakebyte@gmx.de> | Tue Apr 18 21:09:20 2006 -0700 |
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | Wed Apr 19 20:51:38 2006 -0400 |
tree | 6e9aae933bc008c661aa5de29d17862d59037bce | |
parent | 36ab26185c0b6060203829bce32eaeab0fa781ae [diff] |
[SCSI] Overrun in drivers/scsi/sim710.c This fixes coverity bug id #480. Since id_array is declared as id_array[MAX_SLOTS], the check for i>MAX_SLOTS is obviously false. Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de> Cc: James Bottomley <James.Bottomley@steeleye.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>