drm/nouveau/fbcon: fix out-of-bounds memory accesses

[ Upstream commit f045f459d9 ]

Reported by KASAN.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
This commit is contained in:
Ben Skeggs 2016-06-02 12:23:31 +10:00 • committed by Sasha Levin
commit 6a962d0ab0
4 changed files with 7 additions and 13 deletions