commit | 54ef0b5461c071050c61e501af5544842d61f40a | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Sep 23 14:00:59 2015 +0300 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed Sep 23 17:23:44 2015 -0400 |
tree | 99629cb42eb400a13be2323608f507244724ad81 | |
parent | 0913eab648e4fb30ddca8882e707d0fcf5b237c6 [diff] |
drm/amdgpu: integer overflow in amdgpu_mode_dumb_create() args->size is a u64. arg->pitch and args->height are u32. The multiplication will overflow instead of using the high 32 bits as intended. Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>