[PATCH 08/12] drm: plane: Check crtc coordinates against integer overflows in setplane ioctl

2011-12-20 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? Help drivers a little by guaranteeing that crtc_x+crtc_w and crtc_y+crtc_h don't overflow. Signed-off-by: Ville Syrj?l? --- drivers/gpu/drm/drm_crtc.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git

[PATCH 08/12] drm: plane: Check crtc coordinates against integer overflows in setplane ioctl

2011-12-19 Thread ville . syrjala
From: Ville Syrjälä ville.syrj...@linux.intel.com Help drivers a little by guaranteeing that crtc_x+crtc_w and crtc_y+crtc_h don't overflow. Signed-off-by: Ville Syrjälä ville.syrj...@linux.intel.com --- drivers/gpu/drm/drm_crtc.c | 12 1 files changed, 12 insertions(+), 0