aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_test.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2018-07-03 12:29:21 +0000
committerDaniel Vetter <[email protected]>2018-07-03 13:06:15 +0000
commitde10eba0f68a161f3176b710b6e27d291d48aac2 (patch)
treef8e74c76821b6ee47c37d7d7da906d762cd57006 /drivers/gpu/drm/amd/amdgpu/amdgpu_test.c
parentdrm/i810: off by one in i810_dma_vertex() (diff)
downloadkernel-de10eba0f68a161f3176b710b6e27d291d48aac2.tar.gz
kernel-de10eba0f68a161f3176b710b6e27d291d48aac2.zip
drm/vgem: off by one in vgem_gem_fault()
If page_offset is == num_pages then we end up reading beyond the end of obj->pages[]. Fixes: af33a9190d02 ("drm/vgem: Enable dmabuf import interfaces") Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_test.c')
0 files changed, 0 insertions, 0 deletions