drm/radeon: Read buffer overflow
authorRoel Kluin <roel.kluin@gmail.com>
Mon, 3 Aug 2009 12:20:32 +0000 (14:20 +0200)
committerDave Airlie <airlied@redhat.com>
Tue, 4 Aug 2009 03:41:05 +0000 (13:41 +1000)
commitfa99239cb73dbf419bea9f334b85ba94ac88a532
treeea955f6d162a45ba098d9cc247f92e9a7ddada10
parentfee280d3fd9bc5247bef9f4ab35a4693bfffdcfd
drm/radeon: Read buffer overflow

Check whether index is within bounds before grabbing the element.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r100.c