[PATCH] drm: drm_ioctl() should zero-init extra data

2011-09-18 Thread Rob Clark
From: Rob Clark If an older userspace passes in a smaller arg than the current kernel ioctl arg struct, then extra fields should be initialized to zero rather than passing random data to the DRM driver. Signed-off-by: Rob Clark --- A potential issue that Daniel Vetter spotted. It isn't current

[PATCH] drm: drm_ioctl() should zero-init extra data

2011-09-18 Thread Rob Clark
From: Rob Clark If an older userspace passes in a smaller arg than the current kernel ioctl arg struct, then extra fields should be initialized to zero rather than passing random data to the DRM driver. Signed-off-by: Rob Clark --- A potential issue that Daniel Vetter spotted. It isn't current