Blackfin: 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: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
Roel Kluin 2009-08-02 14:26:48 +02:00 • committed by Mike Frysinger
commit ac860751eb