summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/udl
diff options
context:
space:
mode:
authorJerome Glisse <jglisse@redhat.com>2013-01-10 01:40:42 +0400
committerAlex Deucher <alexander.deucher@amd.com>2013-01-11 02:05:38 +0400
commit9305ede6afe2998b391cd225e02a18f37d62028e (patch)
tree3f5256256b89fe06c94a23fa8f29fb792799ea15 /drivers/gpu/drm/udl
parent51861d4eebc2ddc25c77084343d060fa79f6e291 (diff)
downloadlinux-9305ede6afe2998b391cd225e02a18f37d62028e.tar.xz
radeon/kms: fix dma relocation checking
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@redhat.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/udl')
0 files changed, 0 insertions, 0 deletions