From: Daniel van der Wath
The kernel side equivalent of struct SVGA3dSize (struct drm_vmw_size) has an
extra padding word that SVGA3dSize lacks. This was causing data to be written
past the end of "size" in vmw_drm_surface_from_handle(), corrupting other data
and in this case leading to Weston be
Thanks for looking at this. I tried adding the checks you suggested, but it
turns out the problem I'm seeing was actually caused by a mismatch between the
kernel and user side versions of the SVGA3dSize struct (the kernel version is
bigger, and so when it was copied back into user space it was o