commit | 7f073d011f93e92d4d225526b9ab6b8b0bbd6613 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Tue Jul 03 15:30:56 2018 +0300 |
committer | Ben Skeggs <bskeggs@redhat.com> | Mon Jul 16 17:59:58 2018 +1000 |
tree | ca32ac9414693e0f70b5199ae00bb544a973329b | |
parent | df0c97e2c7d06b4f3cc5855604af79fd1a964619 [diff] |
drm/nouveau/gem: off by one bugs in nouveau_gem_pushbuf_reloc_apply() 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>