]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Jazz: Fix read buffer overflow
authorRoel Kluin <roel.kluin@gmail.com>
Fri, 31 Jul 2009 12:52:51 +0000 (14:52 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 3 Aug 2009 16:52:47 +0000 (17:52 +0100)
commitfab5774fa4d30bc77a003537c1cf95f53d8e0d5b
treecf1d8a171d7e9b39d20b671cf3079660e9501a1a
parentf549f917d5ee0006763d03296cb5ff3b2a70875b
MIPS: Jazz: Fix read buffer overflow

Check whether index is within bounds before testing the element.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/jazz/jazzdma.c