summaryrefslogtreecommitdiff
path: root/drivers/dma-buf/dma-fence.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2018-07-03 15:29:21 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2018-07-03 16:06:15 +0300
commitde10eba0f68a161f3176b710b6e27d291d48aac2 (patch)
treef8e74c76821b6ee47c37d7d7da906d762cd57006 /drivers/dma-buf/dma-fence.c
parenta1de8d0a7e2cc79dad6d469901b3b5d4c94c4554 (diff)
downloadlinux-de10eba0f68a161f3176b710b6e27d291d48aac2.tar.xz
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 <dan.carpenter@oracle.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20180703122921.brlfxl4vx2ybvrd2@kili.mountain
Diffstat (limited to 'drivers/dma-buf/dma-fence.c')
0 files changed, 0 insertions, 0 deletions