mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-28 13:30:29 +09:00
[ Upstream commit7f073d011f] The bo array has req->nr_buffers elements so the > should be >= so we don't read beyond the end of the array. Fixes:a1606a9596("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>