aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorVille Syrjälä2012-10-25 18:05:04 +0000
committerDave Airlie2012-11-07 10:09:09 +1000
commitb180b5d1c7ac930387734664802fc26fa788e26f (patch)
tree1c86676c401d2eb6c252b412155780306d9eac7d /block
parent3d70f8c617a436c7146ecb81df2265b4626dfe89 (diff)
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 'block')
0 files changed, 0 insertions, 0 deletions