drm/vmwgfx: Fix nasty write past alloced memory area
authorThomas Hellstrom <thellstrom@vmware.com>
Fri, 1 Jun 2012 13:48:04 +0000 (15:48 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 9 Jun 2012 15:36:14 +0000 (00:36 +0900)
commit7e9f6a5a90c6c261247fbd9dbd38bf6f78779af6
tree8c765e8b8406f4edae3909c93254d9ff4d050599
parent71a47b9b18398fb55ab48865c0886a5b0ded6253
drm/vmwgfx: Fix nasty write past alloced memory area

commit 0824db38e515644f8d1bfd64adbd7cb2c6ea7c62 upstream.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/vmwgfx/vmwgfx_gmr.c