[PATCH 01/51] drm: Be more paranoid with integer overflows

2012-10-25 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? Make sure 'width * cpp' and 'height * pitch + offset' don't exceed UINT_MAX. Signed-off-by: Ville Syrj?l? Reviewed-by: Alex Deucher --- drivers/gpu/drm/drm_crtc.c | 10 +- 1 files changed, 9 insertions(+), 1 deletions(-) diff

[PATCH 01/51] drm: Be more paranoid with integer overflows

2012-10-25 Thread ville . syrjala
From: Ville Syrjälä ville.syrj...@linux.intel.com Make sure 'width * cpp' and 'height * pitch + offset' don't exceed UINT_MAX. Signed-off-by: Ville Syrjälä ville.syrj...@linux.intel.com Reviewed-by: Alex Deucher alexander.deuc...@amd.com --- drivers/gpu/drm/drm_crtc.c | 10 +- 1 files