From: Roel Kluin Date: Wed, 11 Aug 2010 01:01:10 +0000 (-0700) Subject: osst: fix read buffer overflow X-Git-Tag: v2.6.36-rc1~275 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef3f7cc41280e9611a837df1fedf3f6d4d921a75;p=pandora-kernel.git osst: fix read buffer overflow Check whether index is within bounds before testing the element. Signed-off-by: Roel Kluin Cc: Willem Riede Cc: James E.J. Bottomley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed