commit | ef3f7cc41280e9611a837df1fedf3f6d4d921a75 | [log] [tgz] |
---|---|---|
author | Roel Kluin <roel.kluin@gmail.com> | Tue Aug 10 18:01:10 2010 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Aug 11 08:58:59 2010 -0700 |
tree | 63df51b25c2d8e3fb584cbfbe49cb0bdcbd07895 | |
parent | 13bcbc008790b05413c9a16763b423c206528c0a [diff] |
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>