drm: Be more paranoid with integer overflows
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 25 Oct 2012 18:05:04 +0000 (18:05 +0000)
committerDave Airlie <airlied@redhat.com>
Wed, 7 Nov 2012 00:09:09 +0000 (10:09 +1000)
Make sure 'width * cpp' and 'height * pitch + offset' don't exceed
UINT_MAX.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found