parisc: Fix read buffer overflow in pdc_stable driver

Check whether index is within bounds before testing the element.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
Roel Kluin 2009-08-02 08:02:28 +00:00 • committed by Helge Deller
commit 447c233da4