summaryrefslogtreecommitdiff
path: root/include/linux/uio_driver.h
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2018-07-03 15:30:56 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-08-24 13:26:59 +0200
commit9c8f268dcdd5d3dacf504873861b9f18c70021b0 (patch)
treea4fd439b4296c99fda72ecbabbca7fd261da8684 /include/linux/uio_driver.h
parent43707aa8c55fb165a1a56f590e0defb198ebdde9 (diff)
drm/nouveau/gem: off by one bugs in nouveau_gem_pushbuf_reloc_apply()
[ Upstream commit 7f073d011f93e92d4d225526b9ab6b8b0bbd6613 ] The bo array has req->nr_buffers elements so the > should be >= so we don't read beyond the end of the array. Fixes: a1606a9596e5 ("drm/nouveau: new gem pushbuf interface, bump to 0.0.16") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/uio_driver.h')
0 files changed, 0 insertions, 0 deletions