mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 07:22:34 +00:00
If page_offset is == num_pages then we end up reading beyond the end of
obj->pages[].
Fixes: af33a9190d ("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]