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

commit f045f459d9 upstream.

Reported by KASAN.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Ben Skeggs 2016-06-02 12:23:31 +10:00 • committed by Greg Kroah-Hartman
commit fbf9b544a2
4 changed files with 7 additions and 13 deletions