drm/nouveau/fbcon: fix out-of-bounds memory accesses
authorBen Skeggs <bskeggs@redhat.com>
Thu, 2 Jun 2016 02:23:31 +0000 (12:23 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 2 Jun 2016 03:53:44 +0000 (13:53 +1000)
commitf045f459d925138fe7d6193a8c86406bda7e49da
treef00acbaf667b587b9e0cbdcb00d16826cbc12429
parent383d0a419f8e63e3d65e706c3c515fa9505ce364
drm/nouveau/fbcon: fix out-of-bounds memory accesses

Reported by KASAN.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/nouveau/nouveau_fbcon.c
drivers/gpu/drm/nouveau/nv04_fbcon.c
drivers/gpu/drm/nouveau/nv50_fbcon.c
drivers/gpu/drm/nouveau/nvc0_fbcon.c