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

2013-01-09 Thread Alex Deucher
On Wed, Jan 9, 2013 at 4:40 PM, wrote: > From: Jerome Glisse > > 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: Jerom

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

2013-01-09 Thread j.gli...@gmail.com
From: Jerome Glisse 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 --- drivers/gpu/drm/radeon/r600_cs.c | 6 +

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

2013-01-09 Thread Alex Deucher
On Wed, Jan 9, 2013 at 4:40 PM, wrote: > From: Jerome Glisse > > 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: Jerom

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

2013-01-09 Thread j . glisse
From: Jerome Glisse 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 --- drivers/gpu/drm/radeon/r600_cs.c | 6 +