commit | 9305ede6afe2998b391cd225e02a18f37d62028e | [log] [tgz] |
---|---|---|
author | Jerome Glisse <jglisse@redhat.com> | Wed Jan 09 16:40:42 2013 -0500 |
committer | Alex Deucher <alexander.deucher@amd.com> | Thu Jan 10 17:05:38 2013 -0500 |
tree | 3f5256256b89fe06c94a23fa8f29fb792799ea15 | |
parent | 51861d4eebc2ddc25c77084343d060fa79f6e291 [diff] |
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>