diff options
author | Ville Syrjälä | 2012-10-25 20:05:04 +0200 |
---|---|---|
committer | Dave Airlie | 2012-11-07 01:09:09 +0100 |
commit | b180b5d1c7ac930387734664802fc26fa788e26f (patch) | |
tree | 1c86676c401d2eb6c252b412155780306d9eac7d /drivers/gpu/drm/drm_modes.c | |
parent | Linux 3.7-rc4 (diff) | |
download | kernel-qcow2-linux-b180b5d1c7ac930387734664802fc26fa788e26f.tar.gz kernel-qcow2-linux-b180b5d1c7ac930387734664802fc26fa788e26f.tar.xz kernel-qcow2-linux-b180b5d1c7ac930387734664802fc26fa788e26f.zip |
drm: Be more paranoid with integer overflows
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>
Diffstat (limited to 'drivers/gpu/drm/drm_modes.c')
0 files changed, 0 insertions, 0 deletions