[PATCH 1/2] radeon/kms: fix dma relocation checking

Alex Deucher alexdeucher at gmail.com
Wed Jan 9 13:59:18 PST 2013


On Wed, Jan 9, 2013 at 4:40 PM,  <j.glisse at gmail.com> wrote:
> From: Jerome Glisse <jglisse at redhat.com>
>
> We were checking the index against the size of the relocation buffer
> instead of against the last index. This fix kernel segfault when
> userspace submit ill formated command stream/relocation buffer pair.
>
> Signed-off-by: Jerome Glisse <jglisse at redhat.com>

Added to my -fixes queue.  thanks!

Alex


More information about the dri-devel mailing list