summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/gdth.c
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2010-08-10 18:01:10 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-08-11 08:58:59 -0700
commitef3f7cc41280e9611a837df1fedf3f6d4d921a75 (patch)
tree63df51b25c2d8e3fb584cbfbe49cb0bdcbd07895 /drivers/scsi/gdth.c
parent13bcbc008790b05413c9a16763b423c206528c0a (diff)
downloadlinux-stable-ef3f7cc41280e9611a837df1fedf3f6d4d921a75.tar.gz
linux-stable-ef3f7cc41280e9611a837df1fedf3f6d4d921a75.tar.bz2
linux-stable-ef3f7cc41280e9611a837df1fedf3f6d4d921a75.zip
osst: fix read buffer overflow
Check whether index is within bounds before testing the element. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Cc: Willem Riede <osst@riede.org> Cc: James E.J. Bottomley <James.Bottomley@HansenPartnership.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/scsi/gdth.c')
0 files changed, 0 insertions, 0 deletions