summaryrefslogtreecommitdiffstats
path: root/kernel/ksysfs.c
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2009-08-02 13:43:11 +0200
committerIngo Molnar <mingo@elte.hu>2009-08-04 11:09:56 +0200
commit7e030655dda5b5efc4305e2a8f46c4967d32eb3d (patch)
tree76afe22fedb4914718b8962f86203d8a06ff166d /kernel/ksysfs.c
parent59b9005692d4c8b5d73cfc41aa7229f47be163a9 (diff)
downloadlinux-7e030655dda5b5efc4305e2a8f46c4967d32eb3d.tar.gz
linux-7e030655dda5b5efc4305e2a8f46c4967d32eb3d.tar.bz2
linux-7e030655dda5b5efc4305e2a8f46c4967d32eb3d.zip
perf: Fix read buffer overflow
Check whether index is within bounds before testing the element. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Cc: a.p.zijlstra@chello.nl Cc: Andrew Morton <akpm@linux-foundation.org> LKML-Reference: <4A757BCF.40101@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/ksysfs.c')
0 files changed, 0 insertions, 0 deletions