diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2018-07-03 15:30:56 +0300 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2018-07-16 10:59:58 +0300 |
commit | 7f073d011f93e92d4d225526b9ab6b8b0bbd6613 (patch) | |
tree | ca32ac9414693e0f70b5199ae00bb544a973329b /net/l3mdev | |
parent | df0c97e2c7d06b4f3cc5855604af79fd1a964619 (diff) | |
download | linux-7f073d011f93e92d4d225526b9ab6b8b0bbd6613.tar.xz |
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>
Diffstat (limited to 'net/l3mdev')
0 files changed, 0 insertions, 0 deletions