From: Eric Sesterhenn Date: Wed, 19 Apr 2006 04:09:20 +0000 (-0700) Subject: [SCSI] Overrun in drivers/scsi/sim710.c X-Git-Tag: v2.6.17-rc4~4^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a34456bbbdaa939ffa567d15a0797c269f901b7;p=pandora-kernel.git [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 Cc: James Bottomley Signed-off-by: Andrew Morton Signed-off-by: James Bottomley --- Reading git-diff-tree failed