From: Roel Kluin Date: Sun, 2 Aug 2009 11:43:11 +0000 (+0200) Subject: perf: Fix read buffer overflow X-Git-Tag: v2.6.31-rc6~74^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e030655dda5b5efc4305e2a8f46c4967d32eb3d;p=pandora-kernel.git perf: Fix read buffer overflow Check whether index is within bounds before testing the element. Signed-off-by: Roel Kluin Cc: a.p.zijlstra@chello.nl Cc: Andrew Morton LKML-Reference: <4A757BCF.40101@gmail.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed